11 lines
227 B
Python
11 lines
227 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")
|