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