diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2019-12-08 15:56:02 -0500 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2019-12-08 15:56:02 -0500 |
| commit | 90424d59e7f038af6f9b6b69029ab5c43b1a01ee (patch) | |
| tree | 518b9cd3b3df7718b14d63f360c046211b137caf /src/errors.ts | |
| parent | 3205965afbd9c4fce00dc03cccd6b6223ddb1d15 (diff) | |
| download | ao-coverage-90424d59e7f038af6f9b6b69029ab5c43b1a01ee.tar.gz ao-coverage-90424d59e7f038af6f9b6b69029ab5c43b1a01ee.tar.bz2 ao-coverage-90424d59e7f038af6f9b6b69029ab5c43b1a01ee.zip | |
Use HeadIdentifier as reference for file retrieval
Diffstat (limited to 'src/errors.ts')
| -rw-r--r-- | src/errors.ts | 8 |
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" +}; |
