Exception: Servus::Support::Errors::HttpVersionNotSupportedError
- Inherits:
-
ServiceError
- Object
- StandardError
- ServiceError
- Servus::Support::Errors::HttpVersionNotSupportedError
- Defined in:
- lib/servus/support/errors.rb
Overview
505 HTTP Version Not Supported - server does not support the HTTP version.
Constant Summary collapse
- DEFAULT_MESSAGE =
'HTTP version not supported'
Instance Attribute Summary
Attributes inherited from ServiceError
Instance Method Summary collapse
Methods inherited from ServiceError
Constructor Details
This class inherits a constructor from Servus::Support::Errors::ServiceError
Instance Method Details
#api_error ⇒ Object
379 |
# File 'lib/servus/support/errors.rb', line 379 def api_error = { code: http_status, message: } |
#http_status ⇒ Object
378 |
# File 'lib/servus/support/errors.rb', line 378 def http_status = :http_version_not_supported |