Skip to content
YosoiDocs

ContractIssues

yosoi.contracts.ContractIssues

class ContractIssues(_native.ContractError):

Structured rejection of a request for all accepted record values.

Attributes: detail: Copied terminal, cardinality, or report-level rejection facts. Nested values are not recursively frozen; the extraction report remains available.

Source: python/yosoi/contracts.py:430

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

def __init__(self, detail: Mapping[str, Any]) -> None:

Copy top-level Rust rejection details and encode an exception message.

Args: detail: Safe rejection counts, validation details, or terminal facts.

Nested values are not frozen; the original outcome retains its evidence.

Source: python/yosoi/contracts.py:438