diff --git a/ledger/ledger-api-common/src/main/scala/com/digitalasset/platform/server/api/validation/ErrorFactories.scala b/ledger/ledger-api-common/src/main/scala/com/digitalasset/platform/server/api/validation/ErrorFactories.scala index b11f3d3d111a..087cfac8586b 100644 --- a/ledger/ledger-api-common/src/main/scala/com/digitalasset/platform/server/api/validation/ErrorFactories.scala +++ b/ledger/ledger-api-common/src/main/scala/com/digitalasset/platform/server/api/validation/ErrorFactories.scala @@ -123,6 +123,8 @@ class ErrorFactories private (errorCodesVersionSwitcher: ErrorCodesVersionSwitch addDefiniteAnswerDetails(definiteAnswer, statusBuilder) grpcError(statusBuilder.build()) }, + // TODO error codes: This error group is confusing for this generic error as it can be dispatched + // from call-sites that do not involve command validation (e.g. ApiTransactionService). v2 = LedgerApiErrors.CommandValidation.InvalidArgument .Reject(message) .asGrpcError,