flatTry

fun <T : ERROR CLASS: Symbol not found for JsAny??> flatTry(block: () -> PromiseResult<T>): Promise<T>(source)

MDN Reference