Exception: Servus::Support::Errors::UnavailableForLegalReasonsError
- Inherits:
-
ServiceError
- Object
- StandardError
- ServiceError
- Servus::Support::Errors::UnavailableForLegalReasonsError
- Defined in:
- lib/servus/support/errors.rb
Overview
451 Unavailable For Legal Reasons - resource unavailable due to legal demands.
Constant Summary collapse
- DEFAULT_MESSAGE =
'Unavailable for legal reasons'
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
331 |
# File 'lib/servus/support/errors.rb', line 331 def api_error = { code: http_status, message: } |
#http_status ⇒ Object
330 |
# File 'lib/servus/support/errors.rb', line 330 def http_status = :unavailable_for_legal_reasons |