How to map errorType using Micronaut client annotation
问题 How to map errorType using Micronaut client annotation, In case of programatically we can provide body type and errorType objects in case of success and failure. Programmatically calling client: import io.micronaut.core.type.Argument; import io.micronaut.http.HttpRequest; import io.micronaut.http.HttpResponse; import io.micronaut.http.MediaType; import io.micronaut.http.client.DefaultHttpClient; import io.micronaut.http.client.exceptions.HttpClientResponseException; import io.micronaut.http