airflow.providers.modal.exceptions

Exceptions raised by the Modal provider.

Exceptions

ModalError

Base class for errors raised by the Modal provider.

ModalConnectionError

A modal connection is misconfigured, for example only one of the two token fields is set.

Module Contents

exception airflow.providers.modal.exceptions.ModalError[source]

Bases: Exception

Base class for errors raised by the Modal provider.

Deliberately not an AirflowException subclass, matching the other AI providers: callers catch provider errors through this base, and the exceptions carry no Airflow-specific task-state semantics.

exception airflow.providers.modal.exceptions.ModalConnectionError[source]

Bases: ModalError

A modal connection is misconfigured, for example only one of the two token fields is set.

Was this entry helpful?