Exception: Kitsune::Kit::Errors::RemoteCommandError

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

Constant Summary collapse

DEFAULT_HINT =
"Inspect the redacted remote error, correct the server condition and resume."

Instance Attribute Summary

Attributes inherited from Error

#code, #context, #hint, #retryable

Instance Method Summary collapse

Constructor Details

#initialize(message, hint: DEFAULT_HINT) ⇒ RemoteCommandError

Returns a new instance of RemoteCommandError.



53
54
55
# File 'lib/kitsune/kit/errors.rb', line 53

def initialize(message, hint: DEFAULT_HINT, **)
  super(message, code: "remote_command_error", hint: hint, **)
end