Exception: ShipEngine::Exceptions::SecurityError
- Inherits:
-
ShipEngineError
- Object
- StandardError
- ShipEngineError
- ShipEngine::Exceptions::SecurityError
- Defined in:
- lib/shipengine/exceptions.rb
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) ⇒ SecurityError
constructor
A new instance of SecurityError.
Constructor Details
#initialize(message:, code:, request_id: nil, source: nil) ⇒ SecurityError
Returns a new instance of SecurityError.
67 68 69 |
# File 'lib/shipengine/exceptions.rb', line 67 def initialize(message:, code:, request_id: nil, source: nil) super(message:, source:, type: Exceptions::ErrorType.get(:SECURITY), code:, request_id:) end |