Exception: Altertable::ApiError

Inherits:
AltertableError show all
Defined in:
lib/altertable/errors.rb,
sig/altertable/errors.rbs

Instance Attribute Summary collapse

Attributes inherited from AltertableError

#cause

Instance Method Summary collapse

Constructor Details

#initialize(message, status, details = {}) ⇒ ApiError



18
19
20
21
22
# File 'lib/altertable/errors.rb', line 18

def initialize(message, status, details = {})
  super(message)
  @status = status
  @details = details
end

Instance Attribute Details

#details::Hash[String, untyped] (readonly)

Returns the value of attribute details.



16
17
18
# File 'lib/altertable/errors.rb', line 16

def details
  @details
end

#statusInteger (readonly)

Returns the value of attribute status.



16
17
18
# File 'lib/altertable/errors.rb', line 16

def status
  @status
end