mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
32b45966ad
Before this change, we had two error categories that were meant for the same purpose: malicious or faulty and security alert. Now, they have been merged together. As malicious or faulty was misunderstood and sometimes used instead of "SystemInternalAssumptionViolation", we've dropped that term. Related to canton 10981 |
||
---|---|---|
.. | ||
src/main/scala/com/daml/error/definitions | ||
BUILD.bazel | ||
README.md |
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.