MCPcopy Index your code
hub / github.com/openai/plugins / ContractError

Class ContractError

plugins/codex-security/scripts/finalize_scan_contract.py:49–50  ·  view source on GitHub ↗

Raised when a completed scan does not satisfy the additive contract.

Source from the content-addressed store, hash-verified

47
48
49class ContractError(ValueError):
50 """Raised when a completed scan does not satisfy the additive contract."""
51
52
53def _reject_non_finite_json(value: str) -> None:

Callers 15

_read_jsonFunction · 0.85
_json_bytesFunction · 0.85
_require_dictFunction · 0.85
_require_listFunction · 0.85
_require_strFunction · 0.85
_require_scan_directoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected