9 lines
218 B
TypeScript
9 lines
218 B
TypeScript
export class FileNotFoundError extends Error {
|
|
public constructor(
|
|
message: string,
|
|
public readonly filePath: string
|
|
) {
|
|
super(message);
|
|
this.name = "FileNotFoundError";
|
|
}
|
|
}
|