Exception: Temporalio::Error::CancelledError
- Inherits:
-
Failure
- Object
- StandardError
- Temporalio::Error
- Failure
- Temporalio::Error::CancelledError
- Defined in:
- lib/temporalio/error/failure.rb
Overview
Error raised on workflow/activity cancellation.
Instance Attribute Summary collapse
-
#details ⇒ Array<any>
readonly
User-defined details on the error.
Attributes inherited from Failure
Instance Method Summary collapse
-
#initialize(message, details: [], raw: nil, cause: nil) ⇒ CancelledError
constructor
A new instance of CancelledError.
Methods inherited from Failure
Constructor Details
#initialize(message, details: [], raw: nil, cause: nil) ⇒ CancelledError
Returns a new instance of CancelledError.
68 69 70 71 72 |
# File 'lib/temporalio/error/failure.rb', line 68 def initialize(, details: [], raw: nil, cause: nil) super(, raw: raw, cause: cause) @details = details end |
Instance Attribute Details
#details ⇒ Array<any> (readonly)
Returns User-defined details on the error.
66 67 68 |
# File 'lib/temporalio/error/failure.rb', line 66 def details @details end |