Exception: Servus::Support::Errors::MisdirectedRequestError
- Inherits:
-
ServiceError
- Object
- StandardError
- ServiceError
- Servus::Support::Errors::MisdirectedRequestError
- Defined in:
- lib/servus/support/errors.rb
Overview
421 Misdirected Request - request was directed at a server unable to respond.
Constant Summary collapse
- DEFAULT_MESSAGE =
'Misdirected request'
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
244 |
# File 'lib/servus/support/errors.rb', line 244 def api_error = { code: http_status, message: } |
#http_status ⇒ Object
243 |
# File 'lib/servus/support/errors.rb', line 243 def http_status = :misdirected_request |