Exception: Syntropy::UnsupportedHTTPVersionError
- Inherits:
-
ProtocolError
- Object
- StandardError
- Error
- ProtocolError
- Syntropy::UnsupportedHTTPVersionError
- Defined in:
- lib/syntropy/errors.rb
Overview
UnsupportedHTTPVersionError is raised when an invalid protocol specified in a request’s request line.
Constant Summary
Constants inherited from Error
Instance Method Summary collapse
Methods inherited from Error
http_status, #initialize, log_error?, method_not_allowed, not_found, teapot
Constructor Details
This class inherits a constructor from Syntropy::Error
Instance Method Details
#http_status ⇒ Object
81 82 83 |
# File 'lib/syntropy/errors.rb', line 81 def http_status HTTP::HTTP_VERSION_NOT_SUPPORTED end |