public void onError(String error) {
        WritableMap event = Arguments.createMap();
        event.putString("error", error);

        mReactContext.getJSModule(RCTEventEmitter.class).receiveEvent(
                getId(),
                ViroEvents.ON_ERROR,
                event);
    }
Invoke this control's onError callback, if it has one, with the given
message.

@param error The error message.
android/viro_bridge/src/main/java/com/viromedia/bridge/component/VRTComponent.java