Exception: Kitsune::Kit::Errors::TimeoutError

Inherits:
Error
  • Object
show all
Defined in:
lib/kitsune/kit/errors.rb

Constant Summary collapse

DEFAULT_HINT =
"Inspect the last confirmed step and retry or resume with an appropriate positive timeout."

Instance Attribute Summary

Attributes inherited from Error

#code, #context, #hint, #retryable

Instance Method Summary collapse

Constructor Details

#initialize(message, hint: DEFAULT_HINT) ⇒ TimeoutError

Returns a new instance of TimeoutError.



77
78
79
# File 'lib/kitsune/kit/errors.rb', line 77

def initialize(message, hint: DEFAULT_HINT, **)
  super(message, code: "timeout", hint: hint, retryable: true, **)
end