> This page is for NeMo Relay, version dev.
> For other versions, use one of these documentation indexes:
> - Latest (v0.10.4) (default): https://docs.nvidia.com/nemo/relay/latest/llms.txt
> - dev: https://docs.nvidia.com/nemo/relay/dev/llms.txt
> - v0.10.4: https://docs.nvidia.com/nemo/relay/v0.10.4/llms.txt
> - v0.9.4: https://docs.nvidia.com/nemo/relay/v0.9.4/llms.txt
> - v0.8.4: https://docs.nvidia.com/nemo/relay/v0.8.4/llms.txt
> - v0.7.3: https://docs.nvidia.com/nemo/relay/v0.7.3/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/relay/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

# Enum Builtin Diagnostic Code

> Fixed-size canonical authoring value with one authoritative hierarchy.

Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker`.

<pre />

Fixed-size canonical authoring value with one authoritative hierarchy.

## Variants (Non-exhaustive)

### `Failure(FailureCode)`

<pre />

Failure observation.

### `Success(SuccessCode)`

<pre />

Success observation.

### `Notice(NoticeCode)`

<pre />

Notice observation.

## Implementations

### `impl BuiltinDiagnosticCode`

<pre />

#### `canonical_name`

<pre />

Stable name used on the wire and in operational projections.

#### `domain`

<pre />

Parent domain derived from the individual catalogue entry.

Outcome does not determine ownership. Match each success/notice explicitly so adding another entry requires choosing its owning domain.

#### `plugin_family`

<pre />

Plugin catalogue family, independent of the execution mechanism.

Each success/notice explicitly selects a family or None; future plugin successes must choose their family when their producer is integrated.

#### `allowed_classes`

<pre />

Permitted causes; success and notice codes accept no failure class.

#### `allows_class`

<pre />

Check a class against the entry-specific catalogue contract.

#### `all`

<pre />

All implemented catalogue entries.

#### `from_canonical_name`

<pre />

Look up a built-in code without accepting prefixes or inspecting messages.

## Trait Implementations

### `impl Clone for BuiltinDiagnosticCode`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for BuiltinDiagnosticCode`

<pre />

#### `fmt`

<pre />

### `impl<'de> Deserialize<'de> for BuiltinDiagnosticCode`

<pre />

#### `deserialize`

<pre />

### `impl Hash for BuiltinDiagnosticCode`

<pre />

#### `hash`

<pre />

#### `hash_slice`

<pre />

### `impl Ord for BuiltinDiagnosticCode`

<pre />

#### `cmp`

<pre />

#### `max`

<pre />

#### `min`

<pre />

#### `clamp`

<pre />

### `impl PartialEq for BuiltinDiagnosticCode`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl PartialOrd for BuiltinDiagnosticCode`

<pre />

#### `partial_cmp`

<pre />

#### `lt`

<pre />

#### `le`

<pre />

#### `gt`

<pre />

#### `ge`

<pre />

### `impl Serialize for BuiltinDiagnosticCode`

<pre />

#### `serialize`

<pre />

### `impl Copy for BuiltinDiagnosticCode`

<pre />

### `impl Eq for BuiltinDiagnosticCode`

<pre />

### `impl StructuralPartialEq for BuiltinDiagnosticCode`

<pre />