Version: dev

error_code_names

Stable function · Errors

Tier: stable · Kind: function · Topic: Errors

JuliaTypeScriptPythonRustGo
error_code_namesnot exportednot exportederror_code_namesnot exported

Julia

error_code_names()
error_code_names() -> Vector{String}

Every diagnostic code string in ERROR_CODES , sorted. Handy for cross-binding vocabulary diffs and for asserting in tests that a raise site uses a registered code.

Source

TypeScript

TypeScript does not export this function.

Python

Python does not export this function.

Rust

pub fn error_code_names() -> Vec<&'static str>

Every diagnostic code string in ERROR_CODES , sorted. Handy for cross-binding vocabulary diffs and for asserting in a test that a raise site uses a registered code. Mirrors Julia’s error_code_names().

Source · Rust docs

Go

Go does not export this function.