Class: RelicLink::Errors::UnavailableError

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

Overview

Raised when a 5xx is returned in an API response.

Instance Attribute Summary

Attributes inherited from ServerError

#response

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ UnavailableError

Returns a new instance of UnavailableError.



55
56
57
# File 'lib/relic_link/errors/server_error.rb', line 55

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