hiring_assessment/backend/app/errors/not_authenticated.py
Jacob Windsor e0f8112d13 Mock auth
2025-02-19 13:55:42 +01:00

10 lines
226 B
Python

from fastapi import status
from .base_error import BaseError
class NotAuthenticatedError(BaseError):
status_code: int = status.HTTP_401_UNAUTHORIZED
def __init__(self):
super().__init__("Not authenticated")