If you want to handle a specific WebClient response status code, use ExchangeFilterFunction to customize it with your exception type. (see this)
Then define the exception handler (scope spring) for this exception. (see this)