Exception: Servus::Support::Errors::GoneError
- Inherits:
-
ServiceError
- Object
- StandardError
- ServiceError
- Servus::Support::Errors::GoneError
- Defined in:
- lib/servus/support/errors.rb
Overview
410 Gone - resource is no longer available and will not be available again.
Constant Summary collapse
- DEFAULT_MESSAGE =
'Gone'
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
172 |
# File 'lib/servus/support/errors.rb', line 172 def api_error = { code: http_status, message: } |
#http_status ⇒ Object
171 |
# File 'lib/servus/support/errors.rb', line 171 def http_status = :gone |