UNPKG

chaingate

Version:

A complete TypeScript library for connecting to and making transactions on different blockchains

22 lines 741 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FormatError = exports.IncorrectPassword = void 0; class IncorrectPassword extends Error { constructor() { super('Password provided is not correct'); if (Error.captureStackTrace) Error.captureStackTrace(this, IncorrectPassword); this.name = this.constructor.name; } } exports.IncorrectPassword = IncorrectPassword; class FormatError extends Error { constructor(message) { super(message); if (Error.captureStackTrace) Error.captureStackTrace(this, FormatError); this.name = this.constructor.name; } } exports.FormatError = FormatError; //# sourceMappingURL=errors.js.map