diff options
Diffstat (limited to 'fe/src/lib/errors.ts')
-rw-r--r-- | fe/src/lib/errors.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fe/src/lib/errors.ts b/fe/src/lib/errors.ts new file mode 100644 index 0000000..0663d63 --- /dev/null +++ b/fe/src/lib/errors.ts | |||
@@ -0,0 +1,7 @@ | |||
1 | export class UnauthorizedError extends Error { | ||
2 | constructor (message?: string , options?: ErrorOptions) { | ||
3 | super(message, options); | ||
4 | } | ||
5 | } | ||
6 | |||
7 | |||