mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
346bb48904
* Extract Ledger API error definitions in //ledger/error-definitions changelog_begin SERVICE_INTERNAL_ERROR error code is created in CommonErrors and replaces the usage of LEDGER_API_INTERNAL_ERROR in ledger-api-client (as a fix). changelog_end * Tests in //ledger/error do not depend on //ledger/ledger-api-errors * Remove unused dependency from //ledger/error changelog_begin changelog_end * Address Martino's comment
586 B
586 B
Ledger error definitions
Home to error definitions commonly reported via the Ledger API server.
As opposed to definitions in //ledger/participant-state-kv-errors
, these errors
are generic wrt to the ledger backend used by the participant server.
Daml-LF dependencies
Multiple error definitions depend on Daml LF types whose Bazel targets pull in unrelated dependencies, such as the Daml engine.
TODO (https://github.com/digital-asset/daml/issues/15453): Extract Daml-LF interface types to separate package in order to decouple the error definitions from the Daml engine.