UNPKG

@soundsright/user

Version:

soundsright user sdk

28 lines (27 loc) 863 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WalletNotMatchError = exports.WalletNotBoundError = exports.UnauthorizedError = void 0; class UnauthorizedError extends Error { constructor() { super(); this.name = 'UnauthorizedError'; this.message = 'Unauthorized.'; } } exports.UnauthorizedError = UnauthorizedError; class WalletNotBoundError extends Error { constructor() { super(); this.name = 'WalletNotBoundError'; this.message = 'Wallet not bound.'; } } exports.WalletNotBoundError = WalletNotBoundError; class WalletNotMatchError extends Error { constructor() { super(); this.name = 'WalletNotMatchError'; this.message = 'Wallet not match.'; } } exports.WalletNotMatchError = WalletNotMatchError;