Exception: Automate::ChainFailedError
- Inherits:
-
Exception
- Object
- Exception
- Automate::ChainFailedError
- Defined in:
- lib/automate/errors.rb
Instance Attribute Summary collapse
-
#chain ⇒ Object
readonly
Returns the value of attribute chain.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
Instance Method Summary collapse
-
#initialize(chain, description) ⇒ ChainFailedError
constructor
A new instance of ChainFailedError.
Constructor Details
#initialize(chain, description) ⇒ ChainFailedError
Returns a new instance of ChainFailedError.
15 16 17 18 |
# File 'lib/automate/errors.rb', line 15 def initialize(chain, description) @chain = chain @description = description end |
Instance Attribute Details
#chain ⇒ Object (readonly)
Returns the value of attribute chain.
14 15 16 |
# File 'lib/automate/errors.rb', line 14 def chain @chain end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
14 15 16 |
# File 'lib/automate/errors.rb', line 14 def description @description end |