mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Better error response to malformed headers (#35278)
This commit is contained in:
parent
71b2120e5c
commit
8ee6cee36e
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