UNPKG

@clickup/rest-client

Version:

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

10 lines 338 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class RestError extends Error { constructor(message) { super(message); this.name = this.constructor.name; // https://javascript.info/custom-errors#further-inheritance } } exports.default = RestError; //# sourceMappingURL=RestError.js.map