about summary refs log tree commit diff
path: root/src/lib/media/video/errors.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/media/video/errors.ts')
-rw-r--r--src/lib/media/video/errors.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/media/video/errors.ts b/src/lib/media/video/errors.ts
new file mode 100644
index 000000000..701a7e235
--- /dev/null
+++ b/src/lib/media/video/errors.ts
@@ -0,0 +1,6 @@
+export class VideoTooLargeError extends Error {
+  constructor() {
+    super('Videos cannot be larger than 100MB')
+    this.name = 'VideoTooLargeError'
+  }
+}