diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-11-14 08:06:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 08:06:06 +0100 |
commit | b31afc62943b79bf97338040e39123b9dd68f31f (patch) | |
tree | f6d442f3e51147e365e1197e07c3e6548a1d4992 /lib | |
parent | 5c826c408db86c3b4abf4959c092ad4c5c807896 (diff) |
Fix error when passing unknown filter param in REST API (#20626)
Fix #19156
Diffstat (limited to 'lib')
-rw-r--r-- | lib/exceptions.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/exceptions.rb b/lib/exceptions.rb index 3c5ba226b..d3b92f4a0 100644 --- a/lib/exceptions.rb +++ b/lib/exceptions.rb @@ -11,6 +11,7 @@ module Mastodon class RaceConditionError < Error; end class RateLimitExceededError < Error; end class SyntaxError < Error; end + class InvalidParameterError < Error; end class UnexpectedResponseError < Error attr_reader :response |