UNPKG

viem

Version:

TypeScript Interface for Ethereum

17 lines 776 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ReceiptContainsNoWithdrawalsError = exports.GameNotFoundError = void 0; const base_js_1 = require("../../errors/base.js"); class GameNotFoundError extends base_js_1.BaseError { constructor() { super('Dispute game not found.', { name: 'GameNotFoundError' }); } } exports.GameNotFoundError = GameNotFoundError; class ReceiptContainsNoWithdrawalsError extends base_js_1.BaseError { constructor({ hash }) { super(`The provided transaction receipt with hash "${hash}" contains no withdrawals.`, { name: 'ReceiptContainsNoWithdrawalsError' }); } } exports.ReceiptContainsNoWithdrawalsError = ReceiptContainsNoWithdrawalsError; //# sourceMappingURL=withdrawal.js.map