Exception: Garage::AuthBackendTimeout

Inherits:
HTTPError
  • Object
show all
Defined in:
lib/garage/exceptions.rb

Instance Attribute Summary

Attributes inherited from HTTPError

#status

Instance Method Summary collapse

Methods inherited from HTTPError

#status_code

Constructor Details

#initialize(open_timeout, read_timeout) ⇒ AuthBackendTimeout

Returns a new instance of AuthBackendTimeout.



34
35
36
37
# File 'lib/garage/exceptions.rb', line 34

def initialize(open_timeout, read_timeout)
  @status = :internal_server_error
  super("Auth backend timed out: open_timeout=#{open_timeout}, read_timeout=#{read_timeout}")
end