Class: WorkflowTemplate::Fatal::ForeignCodeError
- Inherits:
-
Fatal
- Object
- Fatal
- WorkflowTemplate::Fatal::ForeignCodeError
- Defined in:
- lib/workflow_template/error.rb
Instance Attribute Summary collapse
-
#foreign_error ⇒ Object
readonly
Returns the value of attribute foreign_error.
Instance Method Summary collapse
-
#initialize(foreign_error) ⇒ ForeignCodeError
constructor
A new instance of ForeignCodeError.
Constructor Details
#initialize(foreign_error) ⇒ ForeignCodeError
Returns a new instance of ForeignCodeError.
71 72 73 74 75 |
# File 'lib/workflow_template/error.rb', line 71 def initialize(foreign_error) @foreign_error = foreign_error = "Foreign error #{foreign_error.class.name}: #{foreign_error.}" super() end |
Instance Attribute Details
#foreign_error ⇒ Object (readonly)
Returns the value of attribute foreign_error.
69 70 71 |
# File 'lib/workflow_template/error.rb', line 69 def foreign_error @foreign_error end |