Currently, all HyperledgerExceptions are mapped to InternalServerErrors in Lagom. However, HyperledgerExceptions describe Exceptions thrown by the network. For non-critical errors (e.g. validation on peers), this causes problems.
Therefore, implement a differentiation between the different HyperledgerExceptions.
Currently, all HyperledgerExceptions are mapped to InternalServerErrors in Lagom. However, HyperledgerExceptions describe Exceptions thrown by the network. For non-critical errors (e.g. validation on peers), this causes problems.
Therefore, implement a differentiation between the different HyperledgerExceptions.