pub fn classify_error(err: &dyn Error) -> &'static strExpand description
Structured error codes and JSON error formatting for agent-first UX.
Error code taxonomy (dot-separated):
input.missing_arg,input.invalid_valueauth.expired,auth.scope_denied,auth.missing_keyprovider.timeout,provider.upstream_error,provider.not_foundtool.not_found,tool.execution_failedClassify an error into a dot-separated error code by inspecting its message.