Better error response to malformed headers (#35278)
This commit is contained in:
parent
388e09e1a3
commit
333a17a478
4 changed files with 30 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue