Skip to main content

aip_sdk.RunConnectionError

aip_sdk.RunConnectionError(message: str, *, host: str | None = None, port: int | None = None, last_attempt: str | None = None, status_code: int | None = None)

Connection to the AIP platform failed after all retry attempts are exhausted.

Raised by the external runner when the SDK cannot reach the platform (e.g. network interruption, DNS failure, refused connection).

Attributes

  • host: Hostname of the AIP platform that was unreachable.
  • port: Port of the AIP platform that was unreachable.
  • last_attempt: ISO-8601 timestamp of the last failed connection attempt.

aip_sdk.RunConnectionError.error_code​

aip_sdk.RunConnectionError.error_code = 'RUN_CONNECTION_ERROR'

No docstring is defined in the source.

aip_sdk.RunConnectionError.host​

aip_sdk.RunConnectionError.host = host

No docstring is defined in the source.

aip_sdk.RunConnectionError.last_attempt​

aip_sdk.RunConnectionError.last_attempt = last_attempt

No docstring is defined in the source.

aip_sdk.RunConnectionError.port​

aip_sdk.RunConnectionError.port = port

No docstring is defined in the source.

Inherited members​

Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py

aip_sdk.RunConnectionError.body​

aip_sdk.RunConnectionError.body: dict[str, Any] = body or {}

No docstring is defined in the source.

Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py

aip_sdk.RunConnectionError.correlation_id​

aip_sdk.RunConnectionError.correlation_id = current_correlation_id()

No docstring is defined in the source.

Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py

aip_sdk.RunConnectionError.request_id​

aip_sdk.RunConnectionError.request_id = current_request_id()

No docstring is defined in the source.

Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py

aip_sdk.RunConnectionError.status_code​

aip_sdk.RunConnectionError.status_code = status_code

No docstring is defined in the source.

Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py

aip_sdk.RunConnectionError.validation_errors​

aip_sdk.RunConnectionError.validation_errors: list[dict[str, Any]]

RFC 9457 problem+json validation_errors array, or [] when absent.