Exception: ShipEngine::Exceptions::SecurityError

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

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) ⇒ 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