errorOrNull

fun errorOrNull(): E?

Returns the typed error, or null on success. A nullable error can also be null.