Exception: Automate::ChainFailedError

Inherits:
Exception
  • Object
show all
Defined in:
lib/automate/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(chain, description) ⇒ ChainFailedError

Returns a new instance of ChainFailedError.



8
9
10
11
# File 'lib/automate/errors.rb', line 8

def initialize(chain, description)
  @chain = chain
  @description = description
end

Instance Attribute Details

#chainObject (readonly)

Returns the value of attribute chain.



7
8
9
# File 'lib/automate/errors.rb', line 7

def chain
  @chain
end

#descriptionObject (readonly)

Returns the value of attribute description.



7
8
9
# File 'lib/automate/errors.rb', line 7

def description
  @description
end