feat: improved error messages

This commit is contained in:
TrèsAbhi committed 2024-01-19 16:07:15 -06:00
1 parent 890a4d142b
commit 4c746cbb86
6 files changed
+32 -25

No files matched your search

+6 -1
View File
@@ -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,
) {}
}