pub fn nested_error_class(payload: &str) -> Option<NestedErrorClass>Expand description
The one canonical scan (AGENTS.md: one canonical helper per policy) of
a still-stringly payload’s nested class, consulted by both consumers of
the nested-class fact: [error_info]’s GQLSTATUS for these payloads,
and the language bindings’ binding_error_metadata. A string that
merely resembles a typed class’s token does not adopt that class — the
recognized names are the ones NestedErrorClass closes over.