mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
f4df1cc4d0
* a model for trapping client errors in Scala bindings shim and reporting correctly * clean up some nesting with an alias * filter out client-side command service errors * fix flattening error propagation of CommandService errors in endpoints * remove todo * Daml evaluation triggers INVALID_ARGUMENT; handle this for creates/exercises * clean up lookupResult * remove stripLeft utility; it is unused * proper error propagation for /parties endpoint * map grpc status codes to HTTP error codes * add a case to pass-through gRPC errors in Endpoints errors * handle gRPC status in all explicit top-level catches * pass through gRPC errors in CommandService as well * treat a gRPC status anywhere in the causal chain as indicating participant-server error * propagate ContractsService errors without assuming they will always be ServerErrors * filter ServerErrors' contents when rendering errorful streams * log errors from websocket output instead of rendering full messages * hide message in ServerError case * remove Aborted * transfer with bad contract ID now returns 409 * mention new error codes * add changelog CHANGELOG_BEGIN - [JSON API] Several kinds of gRPC server errors are now reported with associated HTTP statuses; for example, a Daml-LF interpreter error now returns a 400 instead of a 500, and an exercise on an archived contract returns a 409 Conflict instead of a 500. Errors internal to JSON API (e.g. internal assertion failures) are no longer detailed in the HTTP response; their details are only logged. See `issue #11184 <https://github.com/digital-asset/daml/pull/11184>`__. CHANGELOG_END * remove unused Show and liftErr utility * adapt daml-script to new error codes * adapt typescript tests to new error codes * adapt json-api failure tests to new error codes |
||
---|---|---|
.. | ||
cli-opts | ||
db-backend | ||
fetch-contracts | ||
http-json | ||
http-json-cli | ||
http-json-ledger-client | ||
http-json-oracle | ||
http-json-perf | ||
http-json-testing | ||
jwt | ||
lf-value-json | ||
utils |