Exception: Triglav::Agent::ApiClient::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Triglav::Agent::ApiClient::Error
- Defined in:
- lib/triglav/agent/api_client.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(message, cause) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, cause) ⇒ Error
Returns a new instance of Error
22 23 24 25 |
# File 'lib/triglav/agent/api_client.rb', line 22 def initialize(, cause) @cause = cause super() end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause
21 22 23 |
# File 'lib/triglav/agent/api_client.rb', line 21 def cause @cause end |