Skip to content

Commit

Permalink
Add TODO wrt to CommandValidation.invalidArgument
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-da committed Oct 20, 2021
1 parent 8a96248 commit 2007e80
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2007e80

Please sign in to comment.