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:, source: nil, url: nil, request_id: nil) ⇒ SystemError
constructor
A new instance of SystemError.
Constructor Details
#initialize(message:, code:, source: nil, url: nil, request_id: nil) ⇒ SystemError
Returns a new instance of SystemError.
55 56 57 58 59 60 61 62 63 64 |
# File 'lib/shipengine/exceptions.rb', line 55 def initialize(message:, code:, source: nil, url: nil, request_id: nil) super( url: url, code: code, source: source, message: , request_id: request_id, type: ShipEngine::Errors::ErrorType.get(:SYSTEM), ) end |