Exception: Restfulie::Client::HTTP::Error::ServerNotAvailableError

Inherits:
RESTError
  • Object
show all
Defined in:
lib/restfulie/client/http/error.rb

Overview

Represents the HTTP code 503

Instance Attribute Summary

Attributes inherited from RESTError

#request, #response

Instance Method Summary collapse

Methods inherited from RESTError

#to_s

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