Exception: Leash::NotConnectedError
- Defined in:
- lib/leash/errors.rb
Overview
Raised when the provider is not connected for the current user.
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = "Integration not connected", connect_url: nil) ⇒ NotConnectedError
constructor
A new instance of NotConnectedError.
Constructor Details
#initialize(message = "Integration not connected", connect_url: nil) ⇒ NotConnectedError
Returns a new instance of NotConnectedError.
23 24 25 |
# File 'lib/leash/errors.rb', line 23 def initialize( = "Integration not connected", connect_url: nil) super(, code: "not_connected", connect_url: connect_url) end |