> For clean Markdown of any page, append .md to the page URL. For a task-oriented documentation index, fetch https://docs.nvidia.com/nemo/relay/llms.txt. Use the documentation version matching the installed NeMo Relay package: latest follows the latest stable release, vX.Y.Z identifies a retained release snapshot, and dev documents development changes. Preserve the selected version when following links; do not mix examples or API contracts from different versions. Fetch the relevant section's /llms.txt before individual pages instead of loading a complete version index. # Module error > Shared errors returned by the runtime and first-party components. Error types for the NeMo Relay runtime. Generated from `cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -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`. Shared errors returned by the runtime and first-party components. Error types for the NeMo Relay runtime. All fallible operations in the runtime return [`Result`](/reference/api/rust-library-reference/nemo-relay/type-result), which uses [`FlowError`](/reference/api/rust-library-reference/nemo-relay/enum-flowerror) as the error type. Errors are categorized by cause (duplicate registration, missing entity, guardrail rejection, etc.). ## Structs * [UpstreamFailure](/reference/api/rust-library-reference/nemo-relay/error/struct-upstreamfailure): Structured failure returned by one upstream provider attempt. ## Enums * [FlowError](/reference/api/rust-library-reference/nemo-relay/error/enum-flowerror): The error type for all NeMo Relay runtime operations. * [UpstreamFailureClass](/reference/api/rust-library-reference/nemo-relay/error/enum-upstreamfailureclass): Stable classification for a failure from an upstream provider attempt. ## Type Aliases * [Result](/reference/api/rust-library-reference/nemo-relay/error/type-result): A specialized [`Result`](https://doc.rust-lang.org/1.96.1/core/result/enum.Result.html) type for NeMo Relay operations. ## Docs - [Struct Upstream Failure](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay/error/struct-upstreamfailure.md): Structured failure returned by one upstream provider attempt. - [Enum Flow Error](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay/error/enum-flowerror.md): The error type for all NeMo Relay runtime operations. - [Enum Upstream Failure Class](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay/error/enum-upstreamfailureclass.md): Stable classification for a failure from an upstream provider attempt. - [Type Alias Result](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay/error/type-result.md): A specialized `Result` type for NeMo Relay operations.