Airflow Summit 2026 is coming August 31 - September 2 in Austin, TX. Register now to secure your spot!

airflow.providers.anthropic.exceptions

Exceptions

AnthropicError

Base class for all Anthropic provider errors.

AnthropicBatchJobError

Raised when an Anthropic Message Batch fails or finishes with failed requests.

AnthropicBatchTimeout

Raised when an Anthropic Message Batch does not reach a terminal status in time.

AnthropicTriggerEventError

Raised when a deferred task resumes with a missing or malformed trigger event.

AnthropicAgentSessionError

Raised when a Managed Agents session terminates or fails.

AnthropicAgentSessionTimeout

Raised when a Managed Agents session does not reach a terminal status in time.

Module Contents

exception airflow.providers.anthropic.exceptions.AnthropicError[source]

Bases: Exception

Base class for all Anthropic provider errors.

exception airflow.providers.anthropic.exceptions.AnthropicBatchJobError[source]

Bases: AnthropicError

Raised when an Anthropic Message Batch fails or finishes with failed requests.

exception airflow.providers.anthropic.exceptions.AnthropicBatchTimeout[source]

Bases: AnthropicError

Raised when an Anthropic Message Batch does not reach a terminal status in time.

exception airflow.providers.anthropic.exceptions.AnthropicTriggerEventError[source]

Bases: AnthropicError

Raised when a deferred task resumes with a missing or malformed trigger event.

exception airflow.providers.anthropic.exceptions.AnthropicAgentSessionError[source]

Bases: AnthropicError

Raised when a Managed Agents session terminates or fails.

exception airflow.providers.anthropic.exceptions.AnthropicAgentSessionTimeout[source]

Bases: AnthropicError

Raised when a Managed Agents session does not reach a terminal status in time.

Was this entry helpful?