Home / Class/ MutuallyExclusiveAuthError Class — anthropic-sdk-python Architecture

MutuallyExclusiveAuthError Class — anthropic-sdk-python Architecture

Architecture documentation for the MutuallyExclusiveAuthError class in foundry.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  0d17b07c_fd32_b9eb_f77d_63da264ed324["MutuallyExclusiveAuthError"]
  145ee5ba_422d_688e_ca30_dbf4a26bf47f["AnthropicError"]
  0d17b07c_fd32_b9eb_f77d_63da264ed324 -->|extends| 145ee5ba_422d_688e_ca30_dbf4a26bf47f
  28707db8_9678_34e5_eb77_ee47156aa183["foundry.py"]
  0d17b07c_fd32_b9eb_f77d_63da264ed324 -->|defined in| 28707db8_9678_34e5_eb77_ee47156aa183
  6bd9904a_4643_6156_2e9d_d6f1fc96638f["__init__()"]
  0d17b07c_fd32_b9eb_f77d_63da264ed324 -->|method| 6bd9904a_4643_6156_2e9d_d6f1fc96638f

Relationship Graph

Source Code

src/anthropic/lib/foundry.py lines 29–33

class MutuallyExclusiveAuthError(AnthropicError):
    def __init__(self) -> None:
        super().__init__(
            "The `api_key` and `azure_ad_token_provider` arguments are mutually exclusive; Only one can be passed at a time"
        )

Extends

Frequently Asked Questions

What is the MutuallyExclusiveAuthError class?
MutuallyExclusiveAuthError is a class in the anthropic-sdk-python codebase, defined in src/anthropic/lib/foundry.py.
Where is MutuallyExclusiveAuthError defined?
MutuallyExclusiveAuthError is defined in src/anthropic/lib/foundry.py at line 29.
What does MutuallyExclusiveAuthError extend?
MutuallyExclusiveAuthError extends AnthropicError.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free