public SpringdocRouteBuilder onError(Predicate<Throwable> predicate, BiFunction<Throwable, ServerRequest, ServerResponse> responseProvider) {
		this.delegate.onError(predicate, responseProvider);
		return this;
	}
On error springdoc route builder.

@param predicate        the predicate
@param responseProvider the response provider
@return the springdoc route builder
springdoc-openapi-starter-webmvc-api/src/main/java/org/springdoc/webmvc/core/fn/SpringdocRouteBuilder.java