Exception: Txbr::BrazeApiError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/txbr.rb

Direct Known Subclasses

BrazeNotFoundError, BrazeUnauthorizedError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, status_code) ⇒ BrazeApiError

Returns a new instance of BrazeApiError.



29
30
31
32
# File 'lib/txbr.rb', line 29

def initialize(message, status_code)
  super(message)
  @status_code = status_code
end

Instance Attribute Details

#status_codeObject (readonly)

Returns the value of attribute status_code.



27
28
29
# File 'lib/txbr.rb', line 27

def status_code
  @status_code
end