vantage6.backend.common.resource.error_handling.UnauthorizedError

exception UnauthorizedError(message)

Exception raised for unauthorized access errors.

Variables:
  • message (str) – Explanation of the error.

  • status_code (HTTPStatus) – HTTP status code for the error.