Skip to main content

Module error_handling

Module error_handling 

Source

EnumsΒ§

TurnErrorClass
Coarse classification of a turn-level error message. The classifier itself lives in forge-agent’s translate::error_handling; this enum is the wire shape it produces.

FunctionsΒ§

classify_turn_error
extract_json_string_field πŸ”’
extract_xml_tag_value
has_internal_error_keywords πŸ”’
looks_like_auth_required_error_lower
looks_like_internal_error
looks_like_internal_error_lower πŸ”’
looks_like_json_rpc_error_shape πŸ”’
looks_like_plan_limit_error_lower πŸ”’
looks_like_xml_error_shape πŸ”’
summarize_internal_error
summarize_permission_schema_error πŸ”’
truncate_for_log