Class: RelicLink::Errors::TimeoutError

Inherits:
HttpRequestError show all
Defined in:
lib/relic_link/errors/server_error.rb

Overview

Raised when an API request times out.

Instance Attribute Summary

Attributes inherited from ServerError

#response

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ TimeoutError

Returns a new instance of TimeoutError.



48
49
50
# File 'lib/relic_link/errors/server_error.rb', line 48

def initialize(response)
  super('timeout_error', response)
end