reflect._render_cause

(internal) Structural error rendering for `Session.eval` that keeps `reflect` a root package. This is the dependency-free counterpart of `string.from`: its VM implementation shares the same renderer without importing `baml`.

Reference version

Signature

function reflect._render_cause(value: unknown) -> string throws never

(internal) Structural error rendering for Session.eval that keeps reflect a root package. This is the dependency-free counterpart of string.from: its VM implementation shares the same renderer without importing baml.

Source:<builtin>/reflect/reflect.bamlbytes 16333–16417