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