Exception: Keplars::InternalError

Inherits:
KeplarsError 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) ⇒ InternalError

Returns a new instance of InternalError.



54
55
56
# File 'lib/keplars/errors.rb', line 54

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