Class: Glia::Errors::RequestTimeoutError

Inherits:
Error
  • Object
show all
Defined in:
lib/glia/errors/client_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) ⇒ RequestTimeoutError

Returns a new instance of RequestTimeoutError.



513
514
515
516
517
518
519
# File 'lib/glia/errors/client_errors.rb', line 513

def initialize(message: nil)
  super(
    type: REQUEST_TIMEOUT_ERROR,
    ref: create_ref(REQUEST_TIMEOUT_ERROR),
    message: message || 'Request Timeout'
  )
end