Exception: ShipEngine::Exceptions::SystemError

Inherits:
ShipEngineError show all
Defined in:
lib/shipengine/exceptions.rb

Direct Known Subclasses

RateLimitError, TimeoutError

Instance Attribute Summary

Attributes inherited from ShipEngineError

#code, #request_id, #source, #type, #url

Instance Method Summary collapse

Constructor Details

#initialize(message:, code:, request_id: nil, source: nil, url: nil) ⇒ SystemError

Returns a new instance of SystemError.



73
74
75
# File 'lib/shipengine/exceptions.rb', line 73

def initialize(message:, code:, request_id: nil, source: nil, url: nil)
  super(message:, source:, type: Exceptions::ErrorType.get(:SYSTEM), code:, request_id:, url:)
end