Exception: Wajub::ApiConnectionError
- Inherits:
-
WajubError
- Object
- StandardError
- WajubError
- Wajub::ApiConnectionError
- Defined in:
- lib/wajub/errors.rb
Instance Attribute Summary
Attributes inherited from WajubError
#code, #errors, #http_status, #raw
Instance Method Summary collapse
-
#initialize(message, code: 'network_error', http_status: 0, errors: nil, raw: nil) ⇒ ApiConnectionError
constructor
A new instance of ApiConnectionError.
Constructor Details
#initialize(message, code: 'network_error', http_status: 0, errors: nil, raw: nil) ⇒ ApiConnectionError
Returns a new instance of ApiConnectionError.
31 32 33 |
# File 'lib/wajub/errors.rb', line 31 def initialize(, code: 'network_error', http_status: 0, errors: nil, raw: nil) super(, code: code, http_status: http_status, errors: errors, raw: raw) end |