Class: Glia::Errors::GatewayTimeoutError

Inherits:
Error
  • Object
show all
Defined in:
lib/glia/errors/server_errors.rb

Instance Attribute Summary

Attributes inherited from Error

#error_details, #message, #ref, #type

Instance Method Summary collapse

Methods inherited from Error

#to_h

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: message || 'Gateway Timeout'
  )
end