public <T extends Throwable> SpringdocRouteBuilder onError(Class<T> exceptionType, BiFunction<? super T, ServerRequest, Mono<ServerResponse>> responseProvider) {
		this.delegate.onError(exceptionType, responseProvider);
		return this;
	}
On error springdoc route builder.

@param <T>              the type parameter
@param exceptionType    the exception type
@param responseProvider the response provider
@return the springdoc route builder
springdoc-openapi-starter-webflux-api/src/main/java/org/springdoc/webflux/core/fn/SpringdocRouteBuilder.java