default Function<T, R> unWrap() {
        return t -> {
            try {
                return this.apply(t);
            } catch (SQLException sqle) {
                throw new SpeedmentException(sqle);
            }
        };
    }
A variation of the standard {@code java.util.function.Function} that throws
a {@code SQLException} if an error occurred while the function was applied.

@param <T>  input type
@param <R>  result type

@author  Per Minborg
runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/db/SqlFunction.java