getOrThrow
runCatching
run
示例:
fun foo() = runCatching { doSomething() }.getOrThrow()
在应用快速修复后:
fun foo() = run { doSomething() }