UNPKG

@clickup/rest-client

Version:

A syntax sugar tool around Node fetch() API, tailored to work with TypeScript and response validators

13 lines 472 B
import type RestResponse from "../RestResponse"; import RestError from "./RestError"; export default class RestResponseError extends RestError { readonly res: RestResponse; readonly method: string; readonly host: string; readonly pathname: string; readonly requestArgs: string; readonly requestBody: string; readonly responseHeaders: string; constructor(message: string, res: RestResponse); } //# sourceMappingURL=RestResponseError.d.ts.map