Motivation
The mapper returned a null value. isn't helpful to pinpoint which mapper returns a null value. e.g.: Objects.requireNonNull(this.mapper.apply(t), "The mapper returned a null value.") in FluxMap.
And it's will be helpful if the class name of mapper is also logged.
Desired solution
Object value = this.mapper.apply(t);
if (value == null) {
throw new NullPointerException("The mapper ["+ mapper.getClass().getName() + "] returned a null value.");
}
Considered alternatives
Additional context