Exception: Kitsune::Kit::Errors::ProviderError

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

Constant Summary collapse

DEFAULT_HINT =
"Check provider status, permissions, quotas and connectivity, then retry."

Instance Attribute Summary

Attributes inherited from Error

#code, #context, #hint, #retryable

Instance Method Summary collapse

Constructor Details

#initialize(message, hint: DEFAULT_HINT) ⇒ ProviderError

Returns a new instance of ProviderError.



37
38
39
# File 'lib/kitsune/kit/errors.rb', line 37

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