class R2dbcErrorControllerAdvice {

    @ExceptionHandler
    @ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR)
    public Mono<ResponseMessage<Object>> handleException(R2dbcException e) {<FILL_FUNCTION_BODY>}

}

        log.error(e.getLocalizedMessage(), e);
        return LocaleUtils
                .resolveMessageReactive("error.internal_server_error")
                .map(msg -> ResponseMessage.error(500, "error." + e.getClass().getSimpleName(), msg));
    
<no_super_class>