Exception: SolidFlow::Errors::TaskFailure
- Inherits:
-
SolidFlowError
- Object
- StandardError
- SolidFlowError
- SolidFlow::Errors::TaskFailure
- Defined in:
- lib/solid_flow/errors.rb
Instance Attribute Summary collapse
-
#details ⇒ Object
readonly
Returns the value of attribute details.
Instance Method Summary collapse
-
#initialize(message = nil, details: nil) ⇒ TaskFailure
constructor
A new instance of TaskFailure.
Constructor Details
#initialize(message = nil, details: nil) ⇒ TaskFailure
Returns a new instance of TaskFailure.
16 17 18 19 |
# File 'lib/solid_flow/errors.rb', line 16 def initialize( = nil, details: nil) @details = details super( || "Task execution failed") end |
Instance Attribute Details
#details ⇒ Object (readonly)
Returns the value of attribute details.
14 15 16 |
# File 'lib/solid_flow/errors.rb', line 14 def details @details end |