Exception: Kitsune::Kit::Errors::AuthenticationError

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

Constant Summary collapse

DEFAULT_HINT =
"Check the configured credential variable, scope and provider account."

Instance Attribute Summary

Attributes inherited from Error

#code, #context, #hint, #retryable

Instance Method Summary collapse

Constructor Details

#initialize(message, hint: DEFAULT_HINT) ⇒ AuthenticationError

Returns a new instance of AuthenticationError.



29
30
31
# File 'lib/kitsune/kit/errors.rb', line 29

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