reactor-core/src/main/java/reactor/core/Exceptions.java
public static Throwable unwrap(Throwable t) {
		Throwable _t = t;
		while (_t instanceof ReactiveException) {
			_t = _t.getCause();
		}
		return _t == null ? t : _t;
	}
public static Throwable unwrap(Throwable t) {
		Throwable _t = t;
		while (_t instanceof ReactiveException) {
			_t = _t.getCause();
		}
		return _t == null ? t : _t;
	}
public static Throwable unwrap ( Throwable t ) { Throwable _t = t ; while ( _t instanceof ReactiveException ) { _t = _t . getCause ( ) ; } return _t == null ? t : _t ; }
Unwrap a particular {@code Throwable} only if it is was wrapped via
{@link #bubble(Throwable) bubble} or {@link #propagate(Throwable) propagate}.

@param t the exception to unwrap

@return the unwrapped exception or current one if null
Unwrap a particular { @code Throwable } only if it is was wrapped via { @link #bubble ( Throwable ) bubble } or { @link #propagate ( Throwable ) propagate } .