UNPKG

@fioprotocol/fiosdk

Version:

The Foundation for Interwallet Operability (FIO) is a consortium of leading blockchain wallets, exchanges and payments providers that seeks to accelerate blockchain adoption by reducing the risk, complexity, and inconvenience of sending and receiving cryp

26 lines 697 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FioError = void 0; class FioError extends Error { constructor(message, code, labelCode, json) { super(message); this.list = []; this.labelCode = ''; this.errorCode = 0; if (Error.captureStackTrace) { Error.captureStackTrace(this, FioError); } this.name = 'FioError'; if (code) { this.errorCode = code; } if (labelCode) { this.labelCode = labelCode; } if (json) { this.json = json; } } } exports.FioError = FioError; //# sourceMappingURL=FioError.js.map