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