flatCatch

inline fun <T : JsAny?> Promise<T>.flatCatch(noinline onRejected: (JsErrorLike?) -> PromiseResult<T>): Promise<T>(source)