diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-26 23:23:06 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-26 23:23:06 +0100 |
commit | 5f511324b65f94d800dbbd3850214955d7d9eb73 (patch) | |
tree | 5ed179289819d61df1a4c15851389aa7d9b42f19 /app/lib | |
parent | 063432d7e352a0dfb7da0e198886b88e3b8a55bb (diff) |
Add validation of media attachments, clean up mastodon-own exception classes
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/exceptions.rb | 3 |
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 |