com.github.rs3vans.monadik / orElseThrow

orElseThrow

inline fun <T : Any> Option<T>.orElseThrow(exception: () -> Exception): T