onErrorSuspend

suspend fun <T> ApiResult<T>.onErrorSuspend(function: suspend (throwable: Throwable) -> Unit): ApiResult<T>