Exception: Servus::Support::Errors::ExpectationFailedError
- Inherits:
-
ServiceError
- Object
- StandardError
- ServiceError
- Servus::Support::Errors::ExpectationFailedError
- Defined in:
- lib/servus/support/errors.rb
Overview
417 Expectation Failed - server cannot meet Expect header requirements.
Constant Summary collapse
- DEFAULT_MESSAGE =
'Expectation failed'
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
228 |
# File 'lib/servus/support/errors.rb', line 228 def api_error = { code: http_status, message: } |
#http_status ⇒ Object
227 |
# File 'lib/servus/support/errors.rb', line 227 def http_status = :expectation_failed |