UNPKG

@mrboombastic/node-przelewy24

Version:

A simple library for connecting przelewy24 service

18 lines 499 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.P24Error = void 0; /** * Error from Przelewy24 * * @export * @class P24Error * @extends {Error} */ class P24Error extends Error { constructor(error, code, extra) { super(`error = ${error}, code = ${code}, extra = ${extra}`); // 'Error' breaks prototype chain here Object.setPrototypeOf(this, new.target.prototype); } } exports.P24Error = P24Error; //# sourceMappingURL=P24Error.js.map