baloise / corellia

B2B-interface (Web-API) specification for (insurance) contract data
Apache License 2.0
5 stars 3 forks source link

fix ErrorResponse creation issue #53

Closed frank-baier closed 5 years ago

frank-baier commented 5 years ago

Expected Behavior

being able to construct an ErrorResponse from Java

Actual Behavior

Exception due to neither having No-ArgsConstructor nor a JSON creator annotated constructor

Steps to Reproduce the Problem

  1. throw an Exception that should be reported to the consumer, e.g. a ValidationException