Extract errors into module
This commit is contained in:
parent
d13abc115d
commit
a21b1e8c03
1 changed files with 11 additions and 11 deletions
|
|
@ -1,9 +0,0 @@
|
|||
export class FileNotFoundError extends Error {
|
||||
public constructor(
|
||||
message: string,
|
||||
public readonly filePath: string
|
||||
) {
|
||||
super(message);
|
||||
this.name = "FileNotFoundError";
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue