Class: Glia::Errors::RecipientOptedOutError
- Defined in:
- lib/glia/errors/client_errors.rb
Constant Summary
Constants inherited from Error
Instance Attribute Summary
Attributes inherited from Error
#error_details, #message, #ref, #type
Instance Method Summary collapse
-
#initialize(message: nil) ⇒ RecipientOptedOutError
constructor
A new instance of RecipientOptedOutError.
Methods inherited from Error
Constructor Details
#initialize(message: nil) ⇒ RecipientOptedOutError
201 202 203 204 205 206 207 208 |
# File 'lib/glia/errors/client_errors.rb', line 201 def initialize(message: nil) super( type: RECIPIENT_OPTED_OUT_ERROR, ref: 'https://docs.glia.com/glia-dev/reference/webhooks#example-engagementrequestfailure-event-with-fail_error', message: || 'Recipient has opted out' ) end |