UNPKG

hardhat

Version:

Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.

22 lines (18 loc) 597 B
import { CustomError } from "@nomicfoundation/hardhat-utils/error"; abstract class StackTraceGenerationError extends CustomError {} export class EdrProviderStackTraceGenerationError extends StackTraceGenerationError { constructor(message: string) { super( "Failed to generate stack trace for the EDR provider", new Error(message), ); } } export class SolidityTestStackTraceGenerationError extends StackTraceGenerationError { constructor(message: string) { super( "Failed to generate stack trace for the Solidity test", new Error(message), ); } }