Exception: Keplars::AuthenticationError

Inherits:
KeplarsError
  • Object
show all
Defined in:
lib/keplars/errors.rb

Instance Attribute Summary

Attributes inherited from KeplarsError

#code, #request_id, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(message, request_id: nil) ⇒ AuthenticationError

Returns a new instance of AuthenticationError.



23
24
25
# File 'lib/keplars/errors.rb', line 23

def initialize(message, request_id: nil)
  super(message, code: 'AUTHENTICATION_ERROR', request_id: request_id)
end