vault-link/frontend/sync-client/src/file-operations/file-not-found-error.ts

9 lines
218 B
TypeScript

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