aboutsummaryrefslogtreecommitdiff
path: root/src/errors.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors.ts')
-rw-r--r--src/errors.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.ts b/src/errors.ts
index 3af634d..6e8c32f 100644
--- a/src/errors.ts
+++ b/src/errors.ts
@@ -1,6 +1,7 @@
export class BranchNotFoundError extends Error {
constructor() {
super();
+ this.name = "BranchNotFoundError";
this.message = "Branch not found";
}
}
@@ -8,6 +9,7 @@ export class BranchNotFoundError extends Error {
export class InvalidReportDocumentError extends Error {
constructor() {
super();
+ this.name = "InvalidReportDocumentError";
this.message = "Invalid report document";
}
}