Exception: Servus::Support::Errors::UpgradeRequiredError
- Inherits:
-
ServiceError
- Object
- StandardError
- ServiceError
- Servus::Support::Errors::UpgradeRequiredError
- Defined in:
- lib/servus/support/errors.rb
Overview
426 Upgrade Required - client should switch to a different protocol.
Constant Summary collapse
- DEFAULT_MESSAGE =
'Upgrade required'
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
299 |
# File 'lib/servus/support/errors.rb', line 299 def api_error = { code: http_status, message: } |
#http_status ⇒ Object
298 |
# File 'lib/servus/support/errors.rb', line 298 def http_status = :upgrade_required |