Method: ShipEngine::Exceptions::ValidationError#initialize

Defined in:
lib/shipengine/exceptions.rb

#initialize(message:, code:, request_id: nil, source: nil) ⇒ ValidationError

Returns a new instance of ValidationError.



27
28
29
# File 'lib/shipengine/exceptions.rb', line 27

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