runCatching

inline fun <T> Promise.runCatching(action: () -> T)