Skip to main content

aip_sdk.TestPlanReferenceError

aip_sdk.TestPlanReferenceError(message: str, *, failures: list[TestPlanReferenceFailure] | None = None, status_code: int | None = None, body: dict[str, Any] | None = None)

A test plan names something the platform cannot resolve (422).

Every unresolved reference is reported, not just the first, so one call surfaces everything that needs fixing. Nothing is stored when this is raised.

Attributes

  • failures list[TestPlanReferenceFailure]: One entry per unresolved reference, each naming the field it belongs to, the offending value, and what is wrong with it.

aip_sdk.TestPlanReferenceError.failures​

aip_sdk.TestPlanReferenceError.failures: list[TestPlanReferenceFailure] = failures or []

No docstring is defined in the source.

Inherited members​

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

aip_sdk.TestPlanReferenceError.body​

aip_sdk.TestPlanReferenceError.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.TestPlanReferenceError.correlation_id​

aip_sdk.TestPlanReferenceError.correlation_id = current_correlation_id()

No docstring is defined in the source.

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

aip_sdk.TestPlanReferenceError.request_id​

aip_sdk.TestPlanReferenceError.request_id = current_request_id()

No docstring is defined in the source.

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

aip_sdk.TestPlanReferenceError.status_code​

aip_sdk.TestPlanReferenceError.status_code = status_code

No docstring is defined in the source.

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

aip_sdk.TestPlanReferenceError.validation_errors​

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

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