Spring WebClient - Can I give multiple .bodyToMono(ClassTye.class) if response structure is not fixed?

I am calling some rest service using spring WebClient. Depending on different circumstances, the response will be either - say SuccessResponseDTO or ErrorResponseDTO. I have used 'retrive' method of webclient as follows -

Mono<SuccessResponseDTO> response = webClient.post()
                .uri(path)
          .body(Mono.just(requestBodyDTO),RequestBodyDTO.class)
                .retrieve()
                .bodyToMono(SuccessResponseDTO.class);

As mentioned above, if something goes wrog in the service i am calling, response will be in different format, so SuccessResponseDTO will not work. In that case SuccessResponseDTO is need to be replaced with ErrorResponseDTO . How can this be achieved? (I don't want to use exchange method instead of retrieve due to some another issue which I have explained here)