# Decisions diagnostics

<!-- Generated by docs/modules/diagnostics from the package catalogs. Write a guide in docs/diagnostics/<CODE>.md instead of editing this file. -->

Each Decisions error has a stable `code`. Its `docs` link opens the page of that code. This page lists all 8 codes, and [All diagnostics](https://vitehub.dev/docs/reference/diagnostics) lists every primitive.

## Runtime errors

| Code | What happened |
| --- | --- |
| [`DECISIONS_R0001`](https://vitehub.dev/docs/decisions/diagnostics/decisions_r0001) | \<message\> |
| [`DECISIONS_R0002`](https://vitehub.dev/docs/decisions/diagnostics/decisions_r0002) | The options of group "\<key\>" failed to load. |
| [`DECISIONS_R0003`](https://vitehub.dev/docs/decisions/diagnostics/decisions_r0003) | See the page of the code. |
| [`DECISIONS_R0004`](https://vitehub.dev/docs/decisions/diagnostics/decisions_r0004) | See the page of the code. |
| [`DECISIONS_R0005`](https://vitehub.dev/docs/decisions/diagnostics/decisions_r0005) | The gateway request failed: \<reason\> |
| [`DECISIONS_R0006`](https://vitehub.dev/docs/decisions/diagnostics/decisions_r0006) | See the page of the code. |

## Named errors

| Code | What happened |
| --- | --- |
| [`DECISIONS_CLI_ARGUMENTS_INVALID`](https://vitehub.dev/docs/decisions/diagnostics/decisions_cli_arguments_invalid) | See the page of the code. |
| [`DECISIONS_CLI_CHOICES_NOT_FOUND`](https://vitehub.dev/docs/decisions/diagnostics/decisions_cli_choices_not_found) | See the page of the code. |

<!-- vitehub-docs:section-links -->
## In this section

- [Overview](https://vitehub.dev/raw/docs/decisions.md)
- [Get started](https://vitehub.dev/raw/docs/decisions/get-started.md)
- [Server API](https://vitehub.dev/raw/docs/decisions/server-api.md)
- [Limits and errors](https://vitehub.dev/raw/docs/decisions/limits-and-errors.md)
- [Client](https://vitehub.dev/raw/docs/decisions/client.md)
- [Recipes](https://vitehub.dev/raw/docs/decisions/recipes.md)
- [Concepts](https://vitehub.dev/raw/docs/decisions/concepts.md)

All pages: [llms.txt](https://vitehub.dev/llms.txt)
