Class: Glia::Errors::GatewayTimeoutError
- Defined in:
- lib/glia/errors/server_errors.rb
Instance Attribute Summary
Attributes inherited from Error
#error_details, #message, #ref, #type
Instance Method Summary collapse
-
#initialize(message: nil) ⇒ GatewayTimeoutError
constructor
A new instance of GatewayTimeoutError.
Methods inherited from Error
Constructor Details
#initialize(message: nil) ⇒ GatewayTimeoutError
Returns a new instance of GatewayTimeoutError.
38 39 40 41 42 |
# File 'lib/glia/errors/server_errors.rb', line 38 def initialize(message: nil) super( type: GATEWAY_TIMEOUT_ERROR, ref: create_ref(GATEWAY_TIMEOUT_ERROR), message: || 'Gateway Timeout' ) end |