fun onError(lambda: (Throwable) -> Unit): NIMMSTAServiceConnection
Lambda is called once error was thrown. Returns ServiceConnection.
fun onError(: NIMMSTAFailCallback<Throwable>): NIMMSTAServiceConnection
FailCallback is called once error was thrown. Returns ServiceConnection.