Exception: Kitsune::Kit::Errors::UnsafeOperationError

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

Constant Summary collapse

DEFAULT_HINT =
"Review the exact target and use the documented explicit confirmation option."

Instance Attribute Summary

Attributes inherited from Error

#code, #context, #hint, #retryable

Instance Method Summary collapse

Constructor Details

#initialize(message, hint: DEFAULT_HINT) ⇒ UnsafeOperationError

Returns a new instance of UnsafeOperationError.



69
70
71
# File 'lib/kitsune/kit/errors.rb', line 69

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