kotlin-stdlib / kotlin.js / Promise / catch catch JS 1.1 open fun <S> catch(onRejected: (Throwable) -> S): Promise<S>