Exception: Restfulie::Client::HTTP::Error::ServerNotAvailableError
- Inherits:
-
RESTError
- Object
- StandardError
- RESTError
- Restfulie::Client::HTTP::Error::ServerNotAvailableError
- Defined in:
- lib/restfulie/client/http/error.rb
Overview
Represents the HTTP code 503
Instance Attribute Summary
Attributes inherited from RESTError
Instance Method Summary collapse
-
#initialize(request, response, exception) ⇒ ServerNotAvailableError
constructor
A new instance of ServerNotAvailableError.
Methods inherited from RESTError
Constructor Details
#initialize(request, response, exception) ⇒ ServerNotAvailableError
Returns a new instance of ServerNotAvailableError.
28 29 30 31 |
# File 'lib/restfulie/client/http/error.rb', line 28 def initialize(request, response, exception) super(request, response) set_backtrace(exception.backtrace) end |