Exception: Nvoi::Errors::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Nvoi::Errors::Error
- Defined in:
- lib/nvoi/errors.rb
Overview
Base error class for all Nvoi errors
Direct Known Subclasses
CloudflareError, ConfigError, CredentialError, DatabaseError, DeploymentError, K8sError, ProviderError, ServiceError, SshError, TimeoutError
Instance Attribute Summary collapse
-
#details ⇒ Object
readonly
Returns the value of attribute details.
Instance Method Summary collapse
-
#initialize(message, details: nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, details: nil) ⇒ Error
Returns a new instance of Error.
10 11 12 13 |
# File 'lib/nvoi/errors.rb', line 10 def initialize(, details: nil) @details = details super() end |
Instance Attribute Details
#details ⇒ Object (readonly)
Returns the value of attribute details.
8 9 10 |
# File 'lib/nvoi/errors.rb', line 8 def details @details end |