Better error response to malformed headers (#35278)
This commit is contained in:
@@ -13,6 +13,7 @@ module Mastodon
|
||||
class SyntaxError < Error; end
|
||||
class InvalidParameterError < Error; end
|
||||
class SignatureVerificationError < Error; end
|
||||
class MalformedHeaderError < Error; end
|
||||
|
||||
class UnexpectedResponseError < Error
|
||||
attr_reader :response
|
||||
|
||||
Reference in New Issue
Block a user