argdigest.StandardizerContractError#
- exception argdigest.StandardizerContractError(message, context=None, hint=None, code=None)[source]#
A standardizer that did not honour (caller, kwargs) -> mapping.
Forgetting the return is the common case, and without this the failure surfaces much later as AttributeError: ‘NoneType’ object has no attribute ‘items’, which names neither the standardizer nor the library that configured it.
- Parameters:
message (str)
context (Context | None)
hint (str | None)
code (str | None)