Exception: Flexr::Runtime::InvalidRecoveryActionError
- Inherits:
-
ResourceLimitError
- Object
- StandardError
- Error
- LexError
- ResourceLimitError
- Flexr::Runtime::InvalidRecoveryActionError
- Defined in:
- lib/flexr/runtime/errors.rb
Instance Attribute Summary
Attributes inherited from ResourceLimitError
Attributes inherited from LexError
#byte_pos, #filename, #line, #text
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(action:, **context) ⇒ InvalidRecoveryActionError
constructor
A new instance of InvalidRecoveryActionError.
Constructor Details
#initialize(action:, **context) ⇒ InvalidRecoveryActionError
Returns a new instance of InvalidRecoveryActionError.
76 77 78 79 |
# File 'lib/flexr/runtime/errors.rb', line 76 def initialize(action:, **context) super("FLEXR-E027", "on_error returned unsupported action #{action.inspect}", help: "return :skip, :raise, :halt, or :token", **context) end |