getOrThrow
runCatching
run
예:
fun foo() = runCatching { doSomething() }.getOrThrow()
빠른 수정 적용 후:
fun foo() = run { doSomething() }