Results 5 comments of mrwilby

Call stack when CodecException is thrown: ``` encode:220, MapperMediaTypeCodec (io.micronaut.json.codec) encode:268, MapperMediaTypeCodec (io.micronaut.json.codec) encodeBodyAsByteBuf:1422, RoutingInBoundHandler (io.micronaut.http.server.netty) encodeBodyWithCodec:1362, RoutingInBoundHandler (io.micronaut.http.server.netty) encodeResponseBody:1177, RoutingInBoundHandler (io.micronaut.http.server.netty) encodeHttpResponse:1020, RoutingInBoundHandler (io.micronaut.http.server.netty) access$000:149, RoutingInBoundHandler (io.micronaut.http.server.netty) doOnNext:608, RoutingInBoundHandler$2...

@yawkat sorry, that wasn't very clear of me. I am referring to a class that implements (server-side) ExceptionHandler ``` public class CodecExceptionHandler implements ExceptionHandler

I have the same issue. Came here looking for the solution, but will probably go with the two structs route. Would be nice if there was a way to do...

Looks like https://github.com/anthropics/claude-code/issues/2407 should capture this issue.