class Rager::Errors::HttpError
Public Class Methods
Source
# File lib/rager/errors/http_error.rb 12 def initialize(adapter, url, status, body: nil, details: nil) 13 error_data = { 14 type: "http", 15 adapter: adapter.class.name, 16 url: url, 17 status: status, 18 body: body, 19 details: details 20 } 21 22 super(error_data.to_json) 23 end
Calls superclass method