danneu
sealed class Result <out V, out E> { fun getOrThrow(): V = when (this) { is Ok -> value is Err -> throw UnwrapException("Cannot unwrap $this") }