about summary refs log tree commit diff
path: root/app/lib/exceptions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/exceptions.rb')
-rw-r--r--app/lib/exceptions.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/lib/exceptions.rb b/app/lib/exceptions.rb
index 359228c29..200da9fe1 100644
--- a/app/lib/exceptions.rb
+++ b/app/lib/exceptions.rb
@@ -2,5 +2,6 @@
 
 module Mastodon
   class Error < StandardError; end
-  class NotPermitted < Error; end
+  class NotPermittedError < Error; end
+  class ValidationError < Error; end
 end