@ton/core
Version:
Core TypeScript library that implements low level primitives for TON blockchain.
21 lines (20 loc) • 672 B
JavaScript
/**
* Copyright (c) Whales Corp.
* All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ComputeError = void 0;
class ComputeError extends Error {
constructor(message, exitCode, opts) {
super(message);
this.exitCode = exitCode;
this.debugLogs = opts && opts.debugLogs ? opts.debugLogs : null;
this.logs = opts && opts.logs ? opts.logs : null;
Object.setPrototypeOf(this, ComputeError.prototype);
}
}
exports.ComputeError = ComputeError;
;