Exception: Servus::Support::Errors::BadGatewayError
- Inherits:
-
ServiceError
- Object
- StandardError
- ServiceError
- Servus::Support::Errors::BadGatewayError
- Defined in:
- lib/servus/support/errors.rb
Overview
502 Bad Gateway - server received an invalid response from upstream.
Constant Summary collapse
- DEFAULT_MESSAGE =
'Bad gateway'
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
355 |
# File 'lib/servus/support/errors.rb', line 355 def api_error = { code: http_status, message: } |
#http_status ⇒ Object
354 |
# File 'lib/servus/support/errors.rb', line 354 def http_status = :bad_gateway |