Invoked when error occurs in transport between dart and platform.
@override void onError(Exception exception) { _onError(exception); }