Exception: Servus::Support::Errors::InternalServerError
- Inherits:
-
ServiceError
- Object
- StandardError
- ServiceError
- Servus::Support::Errors::InternalServerError
- Defined in:
- lib/servus/support/errors.rb
Overview
500 Internal Server Error - unexpected server-side failure.
Constant Summary collapse
- DEFAULT_MESSAGE =
'Internal server error'
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
143 |
# File 'lib/servus/support/errors.rb', line 143 def api_error = { code: http_status, message: } |
#http_status ⇒ Object
142 |
# File 'lib/servus/support/errors.rb', line 142 def http_status = :internal_server_error |