UNPKG

easy-pix

Version:

Pix payments made easy for developers build arround payment gateways

19 lines (18 loc) 622 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MissingApiKey = void 0; const interfaces_1 = require("../interfaces"); class MissingApiKey extends Error { constructor(provider = interfaces_1.PROVIDERS.ASAAS) { super(`[${provider}] - Missing API KEY`); Object.defineProperty(this, "provider", { enumerable: true, configurable: true, writable: true, value: provider }); this.name = this.constructor.name; Error.captureStackTrace(this.constructor); } } exports.MissingApiKey = MissingApiKey;