Exception: Inbox::APIError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/inbox.rb,
lib/nylas.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, error) ⇒ APIError

Returns a new instance of APIError.



34
35
36
37
# File 'lib/inbox.rb', line 34

def initialize(type, error)
  super(error)
  self.error_type = type
end

Instance Attribute Details

#error_typeObject

Returns the value of attribute error_type.



33
34
35
# File 'lib/inbox.rb', line 33

def error_type
  @error_type
end