diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-31 18:13:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-31 18:13:16 +0200 |
commit | a95c7aa59c320396b7d2eedd4354316ef167de5d (patch) | |
tree | cfec2fdf2a37066197937dbca32ceb89a038477b /api/src/util/ApiError.ts | |
parent | Merge branch 'typeorm' of https://github.com/fosscord/fosscord-api into typeorm (diff) | |
parent | Merge branch 'typeorm' into typeorm (diff) | |
download | server-a95c7aa59c320396b7d2eedd4354316ef167de5d.tar.xz |
Merge pull request #299 from AlTech98/typeorm
Created list of all possible api errors and made them throwable in routes code
Diffstat (limited to 'api/src/util/ApiError.ts')
-rw-r--r-- | api/src/util/ApiError.ts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/api/src/util/ApiError.ts b/api/src/util/ApiError.ts new file mode 100644 |