MCPcopy Create free account
hub / github.com/NomicFoundation/hardhat /

Class

packages/hardhat-utils/src/errors/fs.ts:19–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19export class InvalidFileFormatError extends CustomError {
20 constructor(filePath: string, cause: Error) {
21 super(`Invalid file format: ${filePath}`, cause);
22 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected