Source code for taimoe.platform.errors.unauthenticated_error
"""Unauthenticated error — 401 UNAUTHENTICATED."""
from __future__ import annotations
from ._base import TaimoeAPIError, _register_code, _register_status
[docs]
@_register_status(401)
@_register_code("UNAUTHENTICATED")
class UnauthenticatedError(TaimoeAPIError):
"""The request lacked valid authentication credentials."""
default_code = "UNAUTHENTICATED"