Esc

toml_error_path

procedureextensionsince 0.36.1Source
  • macOS: toml_error_path works on macOS
  • Linux: toml_error_path works on Linux
  • Windows: toml_error_path works on Windows
  • Wasm: toml_error_path works on Wasm

The error's allocation-independent path, borrowed from the error record. Truncation is explicit in path_truncated; full byte spans remain authoritative. Example: assert(toml_error_path(*error) == "$["format"]["indent_width"]");

Signature

toml_error_path :: (error: *Toml_Error) -> string

See also