aboutsummaryrefslogtreecommitdiff
path: root/src/errors.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors.ts')
-rw-r--r--src/errors.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/errors.ts b/src/errors.ts
index 4026164..3af634d 100644
--- a/src/errors.ts
+++ b/src/errors.ts
@@ -11,3 +11,11 @@ export class InvalidReportDocumentError extends Error {
this.message = "Invalid report document";
}
}
+
+export const Messages = {
+ FileNotFound: "File not found",
+ FileTooLarge: "Uploaded file is too large",
+ InvalidFormat: "Invalid reporting format",
+ InvalidToken: "Invalid token",
+ UnknownError: "Unknown error occurred"
+};