9.2.2. Default Policy

The default policy applies when errors are not handled by another level. By default, errors are translated into the most appropriate HTTP response:
  • Access denied: HTTP 403 Forbidden
  • Error: HTTP 500 Internal Server Error
  • Internal error: HTTP 500 Internal Server Error
  • Resource not found: HTTP 404 Not Found
  • Resource unavailable: HTTP 404 Not Found