Class | Http::ParserError |
In: |
lib/http/parser.rb
|
Parent: | RuntimeError |
An exception class for HTTP parser errors. Includes an HTTP Error Code number that corresponds to the difficulty parsing (ie. 414 for Request-URI Too Long)
code | [R] | The error code that corresponds to the parsing error. |
headers | [R] | Headers that should be sent back with the error reply as a hash. |