10 lines
226 B
Python
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") |