daml/ledger/ledger-api-errors
Ratko Veprek 32b45966ad
Unified error category malicious or faulty with security alert (#15649)
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
2022-11-22 14:05:06 +01:00
..
src/main/scala/com/daml/error/definitions Unified error category malicious or faulty with security alert (#15649) 2022-11-22 14:05:06 +01:00
BUILD.bazel Extract Ledger API error definitions in //ledger/ledger-api-errors [DPP-1269] (#15439) 2022-11-07 17:24:43 +01:00
README.md Extract Ledger API error definitions in //ledger/ledger-api-errors [DPP-1269] (#15439) 2022-11-07 17:24:43 +01:00

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.