Class RestClient::RequestFailed
In: lib/rest-client-1.6.3/lib/restclient/exceptions.rb
Parent: ExceptionWithResponse

The request failed with an error code not managed by the code

Methods

message   to_s  

Public Instance methods

[Source]

# File lib/rest-client-1.6.3/lib/restclient/exceptions.rb, line 128
    def message
      "HTTP status code #{http_code}"
    end

[Source]

# File lib/rest-client-1.6.3/lib/restclient/exceptions.rb, line 132
    def to_s
      message
    end

[Validate]