class Faraday::Response::RaiseError

def response_values(env)

def response_values(env)
  {
    status: env.status,
    headers: env.response_headers,
    body: env.body,
    request: {
      method: env.method,
      url: env.url,
      url_path: env.url.path,
      params: query_params(env),
      headers: env.request_headers,
      body: env.request_body
    }
  }
end