Class: Glia::Errors::MalformedInputError
- 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) ⇒ MalformedInputError
constructor
A new instance of MalformedInputError.
Methods inherited from Error
Constructor Details
#initialize(message: nil) ⇒ MalformedInputError
Returns a new instance of MalformedInputError.
272 273 274 275 276 277 278 |
# File 'lib/glia/errors/client_errors.rb', line 272 def initialize(message: nil) super( type: MALFORMED_INPUT_ERROR, ref: create_ref(MALFORMED_INPUT_ERROR), message: || 'Request is malformed' ) end |