UNPKG

@atomiqlabs/base

Version:

Base classes and interfaces for atomiq protocol

17 lines (16 loc) 538 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TransactionRevertedError = void 0; /** * Indicates that the sent transaction has reverted (i.e. was confirmed but the execution failed) * * @category Errors */ class TransactionRevertedError extends Error { constructor(msg) { super(msg); // Set the prototype explicitly. Object.setPrototypeOf(this, TransactionRevertedError.prototype); } } exports.TransactionRevertedError = TransactionRevertedError;