Coverage for python / lsst / ctrl / bps / panda / panda_exceptions.py: 100%
12 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-18 08:49 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-18 08:49 +0000
1class PandaAuthError(Exception):
2 """Base class for authentication errors."""
4 pass
7class TokenNotFoundError(PandaAuthError):
8 """Raised when the token file is missing."""
10 pass
13class TokenExpiredError(PandaAuthError):
14 """Raised when the token has already expired."""
16 pass
19class TokenTooEarlyError(PandaAuthError):
20 """Raised when attempting to refresh too early."""
22 pass
25class AuthConfigError(PandaAuthError):
26 """Raised when fetching the auth or endpoint configuration fails."""
28 pass
31class TokenRefreshError(PandaAuthError):
32 """Raised when token refresh fails."""
34 pass