From e2f63f38a440d6811c42c73b17d6c120ece7de87 Mon Sep 17 00:00:00 2001 From: Ratko Veprek Date: Wed, 26 Aug 2026 16:10:48 +0200 Subject: [PATCH] Add a pointer to the error code reference page Before this change, we explained in the app-dev section how the error codes are structured, but we didn't provide a link to the full inventory of the error codes. Now, the link allows a reader to reach the inventory that is buried in a completely different part of the IA. --- docs-main/appdev/reference/error-codes.mdx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs-main/appdev/reference/error-codes.mdx b/docs-main/appdev/reference/error-codes.mdx index 964e0f558..8167b85d3 100644 --- a/docs-main/appdev/reference/error-codes.mdx +++ b/docs-main/appdev/reference/error-codes.mdx @@ -80,6 +80,15 @@ The following Java example shows the equivalent extraction. Java has first-class These error codes are also surfaced through the JSON API (HTTP Ledger API) with equivalent error detail structures. For other languages, use the equivalent gRPC status and protobuf utilities to unpack `com.google.rpc.Status` details from the trailing metadata. +## Detailed Error Inventory + +Note that all error codes emitted by Canton are documented in the [Error Inventory](/global-synchronizer/reference/error-codes#error-code-reference). + +Whenever you observe an error, search for the corresponding error code in the inventory to find the explanation and +the recommended resolution. + +The error code reference documentation is maintained directly in the [Canton source code](https://github.com/digital-asset/canton). + ## Further reading - [Troubleshooting cheat sheet](/appdev/troubleshooting) -- quick-reference solutions for common issues including specific error codes