From 087d38f5707519f21e9234764736554c627955dd Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Sat, 22 Mar 2025 12:01:15 +0000 Subject: [PATCH] Extract error --- .../sync-client/src/file-operations/file-not-found-error.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 frontend/sync-client/src/file-operations/file-not-found-error.ts diff --git a/frontend/sync-client/src/file-operations/file-not-found-error.ts b/frontend/sync-client/src/file-operations/file-not-found-error.ts new file mode 100644 index 00000000..63af7dab --- /dev/null +++ b/frontend/sync-client/src/file-operations/file-not-found-error.ts @@ -0,0 +1,6 @@ +export class FileNotFoundError extends Error { + public constructor(message: string) { + super(message); + this.name = "FileNotFoundError"; + } +}