Class: Glia::Errors::TwilioMessagingServiceConfigurationError

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

Returns a new instance of TwilioMessagingServiceConfigurationError.



329
330
331
332
333
334
335
# File 'lib/glia/errors/client_errors.rb', line 329

def initialize(message: nil)
  super(
    type: TWILIO_MESSAGING_SERVICE_CONFIGURATION_ERROR,
    ref: create_ref(TWILIO_MESSAGING_SERVICE_CONFIGURATION_ERROR),
    message: message || 'Invalid Twilio Messaging Service configuration'
  )
end