Exception: ShipEngine::Exceptions::AccountStatusError

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

Returns a new instance of AccountStatusError.



61
62
63
# File 'lib/shipengine/exceptions.rb', line 61

def initialize(message:, code:, request_id: nil, source: nil)
  super(message:, source:, type: Exceptions::ErrorType.get(:ACCOUNT_STATUS), code:, request_id:)
end