Exception: Flexr::Runtime::InvalidRecoveryActionError

Inherits:
ResourceLimitError show all
Defined in:
lib/flexr/runtime/errors.rb

Instance Attribute Summary

Attributes inherited from ResourceLimitError

#code, #rule

Attributes inherited from LexError

#byte_pos, #filename, #line, #text

Attributes inherited from Error

#diagnostic

Instance Method Summary collapse

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