Exception: Wajub::ApiConnectionError

Inherits:
WajubError
  • Object
show all
Defined in:
lib/wajub/errors.rb

Instance Attribute Summary

Attributes inherited from WajubError

#code, #errors, #http_status, #raw

Instance Method Summary collapse

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(message, code: 'network_error', http_status: 0, errors: nil, raw: nil)
  super(message, code: code, http_status: http_status, errors: errors, raw: raw)
end