Exception: Leash::ConnectionRequiredError
- Defined in:
- lib/leash/errors.rb
Overview
403 from the platform — provider not connected for the current user.
Instance Attribute Summary
Attributes inherited from Error
#action, #cause, #code, #see_also, #status
Instance Method Summary collapse
-
#initialize(message = "Integration not connected.", **opts) ⇒ ConnectionRequiredError
constructor
A new instance of ConnectionRequiredError.
Methods inherited from Error
Constructor Details
#initialize(message = "Integration not connected.", **opts) ⇒ ConnectionRequiredError
Returns a new instance of ConnectionRequiredError.
75 76 77 78 |
# File 'lib/leash/errors.rb', line 75 def initialize( = "Integration not connected.", **opts) opts[:code] ||= "INTEGRATION_NOT_ENABLED" super(, **opts) end |