MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / constructor

Method constructor

src/errors.ts:70–77  ·  view source on GitHub ↗
(message: string, filePath: string, cause?: Error)

Source from the content-addressed store, hash-verified

68 readonly filePath: string;
69
70 constructor(message: string, filePath: string, cause?: Error) {
71 super(message, 'FILE_ERROR', { filePath, cause: cause?.message });
72 this.name = 'FileError';
73 this.filePath = filePath;
74 if (cause) {
75 this.cause = cause;
76 }
77 }
78}
79
80/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected