Class: Glia::Errors::PayloadTooLargeError
- 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) ⇒ PayloadTooLargeError
constructor
A new instance of PayloadTooLargeError.
Methods inherited from Error
Constructor Details
#initialize(message: nil) ⇒ PayloadTooLargeError
Returns a new instance of PayloadTooLargeError.
503 504 505 506 507 508 509 |
# File 'lib/glia/errors/client_errors.rb', line 503 def initialize(message: nil) super( type: PAYLOAD_TOO_LARGE_ERROR, ref: create_ref(PAYLOAD_TOO_LARGE_ERROR), message: || 'Payload Too Large' ) end |