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
Calls superclass method
# File lib/tiny_client/response_error.rb, line 8
def initialize(response)
  @response = response
  super("Error #{response.status} occured when calling #{response.url}")
end