UNPKG

chaingate

Version:

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

17 lines 538 B
export class IncorrectPassword extends Error { constructor() { super('Password provided is not correct'); if (Error.captureStackTrace) Error.captureStackTrace(this, IncorrectPassword); this.name = this.constructor.name; } } export class FormatError extends Error { constructor(message) { super(message); if (Error.captureStackTrace) Error.captureStackTrace(this, FormatError); this.name = this.constructor.name; } } //# sourceMappingURL=errors.js.map