@figuro/chatwoot-sdk
Version:
SDK for JS/Typescript for Chatwoot.
21 lines • 556 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ApiError = void 0;
class ApiError extends Error {
url;
status;
statusText;
body;
request;
constructor(request, response, message) {
super(message);
this.name = "ApiError";
this.url = response.url;
this.status = response.status;
this.statusText = response.statusText;
this.body = response.body;
this.request = request;
}
}
exports.ApiError = ApiError;
//# sourceMappingURL=ApiError.js.map