Exception: ShipEngine::Exceptions::SystemError
- Inherits:
-
ShipEngineError
- Object
- StandardError
- ShipEngineError
- ShipEngine::Exceptions::SystemError
- Defined in:
- lib/shipengine/exceptions.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from ShipEngineError
#code, #request_id, #source, #type, #url
Instance Method Summary collapse
-
#initialize(message:, code:, request_id: nil, source: nil, url: nil) ⇒ SystemError
constructor
A new instance of SystemError.
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 |