Exception: Kitsune::Kit::Errors::VerificationError

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

Constant Summary collapse

DEFAULT_HINT =
"Do not assume the change succeeded; inspect state and run `kit doctor` before retrying."

Instance Attribute Summary

Attributes inherited from Error

#code, #context, #hint, #retryable

Instance Method Summary collapse

Constructor Details

#initialize(message, hint: DEFAULT_HINT) ⇒ VerificationError

Returns a new instance of VerificationError.



61
62
63
# File 'lib/kitsune/kit/errors.rb', line 61

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