connect-sdk-nodejs
Version:
SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API
15 lines • 589 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SdkApiError = void 0;
class SdkApiError extends Error {
constructor(message, status, body) {
super(message);
this.status = status;
this.body = body;
this.name = "SdkApiError";
// see https://github.com/Microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
Object.setPrototypeOf(this, SdkApiError.prototype);
}
}
exports.SdkApiError = SdkApiError;
//# sourceMappingURL=types.js.map