Skip to content

Error Suggestions

Smart error suggestions and auto-correction.


ExceptionSuggestor

Suggestion utility for catching and suggesting fixes for common missing key/attribute errors. Supports Pandas, _MockPandas, dicts, CLI options, and generic objects.

suggest

Python
suggest(obj: Union[BaseException, DataFrame, dict, tuple, set, list, object], missing_key: str = None) -> Optional[str]

Auto-detect object type and route to appropriate suggestion method.