class HTTP::RestClient::ResponseError
Client default response exception class.
Attributes
response_data[R]
Error additional data
@return [Hash]
Public Class Methods
new(message, data)
click to toggle source
Class constructor
@param message [String] the error details @param data [Hash] the error data
@return [ResponseError] instance
Calls superclass method
# File lib/http/rest_client/response_error.rb, line 16 def initialize(message, data) super(message) @response_data = data end