class TinyClient::ResponseError

Raised when an HTTP error occured during the request. See {Response#error?}

Attributes

response[R]

Public Class Methods

new(response) click to toggle source
# File lib/tiny_client/response_error.rb, line 6
def initialize(response)
  @response = response
  @message = "Error #{response.status} occured when calling #{response.url}"
end