@nomiclabs/buidler
Version:
Buidler is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
13 lines • 722 B
TypeScript
/// <reference types="node" />
import { inspect } from "util";
import { SolidityStackTrace } from "./solidity-stack-trace";
export declare function getCurrentStack(): NodeJS.CallSite[];
export declare function wrapWithSolidityErrorsCorrection(f: () => any, stackFramesToRemove: number): Promise<any>;
export declare function encodeSolidityStackTrace(fallbackMessage: string, stackTrace: SolidityStackTrace, previousStack?: NodeJS.CallSite[]): SolidityError;
export declare class SolidityError extends Error {
readonly stackTrace: SolidityStackTrace;
constructor(message: string, stackTrace: SolidityStackTrace);
[inspect.custom](): string;
inspect(): string;
}
//# sourceMappingURL=solidity-errors.d.ts.map