UNPKG

@clickup/rest-client

Version:

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

12 lines (10 loc) 294 B
import type RestResponse from "../RestResponse"; import RestResponseError from "./RestResponseError"; export default class RestTokenInvalidError extends RestResponseError { constructor( public readonly humanReason: string, res: RestResponse, ) { super(humanReason, res); } }