Class: Glia::Errors::CarrierError

Inherits:
Error
  • Object
show all
Defined in:
lib/glia/errors/client_errors.rb

Instance Attribute Summary

Attributes inherited from Error

#error_details, #message, #ref, #type

Instance Method Summary collapse

Methods inherited from Error

#to_h

Constructor Details

#initialize(message: nil) ⇒ CarrierError

Returns a new instance of CarrierError.



290
291
292
293
294
# File 'lib/glia/errors/client_errors.rb', line 290

def initialize(message: nil)
  super(
    type: CARRIER_ERROR, ref: create_ref(CARRIER_ERROR), message: message || 'Downstream carrier issue occurred'
  )
end