Class: Glia::Errors::MessageBlockedError
- Defined in:
- lib/glia/errors/client_errors.rb
Instance Attribute Summary
Attributes inherited from Error
#error_details, #message, #ref, #type
Instance Method Summary collapse
-
#initialize(message: nil) ⇒ MessageBlockedError
constructor
A new instance of MessageBlockedError.
Methods inherited from Error
Constructor Details
#initialize(message: nil) ⇒ MessageBlockedError
Returns a new instance of MessageBlockedError.
302 303 304 305 306 307 308 |
# File 'lib/glia/errors/client_errors.rb', line 302 def initialize(message: nil) super( type: MESSAGE_BLOCKED_ERROR, ref: create_ref(MESSAGE_BLOCKED_ERROR), message: || 'Message blocked or filtered' ) end |