mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: improved error messages
This commit is contained in:
1 parent
890a4d142b
commit
4c746cbb86
6 files changed
+32
-25
No files matched your search
@@ -1,4 +1,9 @@
|
||||
/**
|
||||
* Discriminator for user caused errors to not report in logs
|
||||
*/
|
||||
export class UserError extends Error {}
|
||||
export class UserError {
|
||||
constructor(
|
||||
public message: string,
|
||||
public cause: string,
|
||||
) {}
|
||||
}
|
||||
Reference in new issue
Block a user