Exception: Leash::NotConnectedError

Inherits:
Error
  • Object
show all
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

#code, #connect_url

Instance Method Summary collapse

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(message = "Integration not connected", connect_url: nil)
  super(message, code: "not_connected", connect_url: connect_url)
end