aboutsummaryrefslogtreecommitdiff
path: root/src/util/error.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/error.ts')
-rw-r--r--src/util/error.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/error.ts b/src/util/error.ts
new file mode 100644
index 0000000..5380849
--- /dev/null
+++ b/src/util/error.ts
@@ -0,0 +1,6 @@
+export class PeerTeacherImportError extends Error {
+ constructor(message) {
+ super(message);
+ this.name = "PeerTeacherImportError";
+ }
+} \ No newline at end of file