Skip to content

T3AuthError

Base classes

Name Children Inherits
T3Error
pyt3client.errors
Base class for every error pyt3client raises.

⋔ Inheritance diagram

graph TD
  106982417180064["errors.T3AuthError"]
  106982420250208["errors.T3Error"]
  129768776220000["builtins.Exception"]
  129768776220864["builtins.BaseException"]
  129768776280576["builtins.object"]
  106982420250208 --> 106982417180064
  129768776220000 --> 106982420250208
  129768776220864 --> 129768776220000
  129768776280576 --> 129768776220864

🛈 DocStrings

Bases: T3Error

Signing in failed, or the server no longer accepts the credential.

Raised for a rejected pairing code, a revoked or expired token (HTTP 401 on /mcp), and OAuth errors from /oauth/mcp/*.

Source code in src/pyt3client/errors.py
47
48
49
50
51
52
class T3AuthError(T3Error):
    """Signing in failed, or the server no longer accepts the credential.

    Raised for a rejected pairing code, a revoked or expired token (HTTP 401
    on `/mcp`), and OAuth errors from `/oauth/mcp/*`.
    """

:fa-brands-github: Show source on GitHub