public final Mono < T > onErrorResume ( Function < ? super Throwable , ? extends Mono < ? extends T > > fallback ) { return onAssembly ( new MonoOnErrorResume <> ( this , fallback ) ) ; }
Subscribe to a fallback publisher when any error occurs using a function to choose the fallback depending on the error .