Exception: Syntropy::UnsupportedHTTPVersionError

Inherits:
ProtocolError show all
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

Error::DEFAULT_STATUS

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_statusObject



81
82
83
# File 'lib/syntropy/errors.rb', line 81

def http_status
  HTTP::HTTP_VERSION_NOT_SUPPORTED
end