Hi everyone,
we are looking for guidance for an activity related to Apicurio projects that are writing
a Quarkus based app leveraging RestEasy.
We have been asked to customize the default error responses, like the following:
`reason: "javax.ws.rs.NotAllowedException: RESTEASY003650: No resource method found
for DELETE, return 405 with Allow header"`
So to have them translated to business-specific messages.
We have successfully used Exception mappers are application layer, but it seems that if an
error comes from the platform then the application's exception mapper is not called.
So for things like authentication failures, or when trying to access an API endpoint that
doesn't exist, or calling an existing API with the wrong Content-Type - these are
Reasteasy errors that don't go through the mapper.
We are thus consulting the experts here to understand what is supposed to be to idiomatic
way to obtain this in RestEasy?
thank you
paolo
pantinor(a)redhat.com
Versions info:
```
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy</artifactId>
<version>1.13.2.Final</version>
<exclusions>
<exclusion>
<groupId>com.github.java-json-tools.jackson-coreutils</groupId>
<artifactId>jackson-coreutils</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.java-json-tools.jackson-coreutils</groupId>
<artifactId>jackson-coreutils-equivalence</artifactId>
</exclusion>
</exclusions>
</dependency>
```
Show replies by date
Do you have an example of the ExceptionMapper?