class NativeCommandListener extends CommandListenerAdapter {

    @Override
    public void onError(String message) {
        if (promise != null) promise.reject(new Throwable(message));
    }

    public  NativeCommandListener(String commandId, @Nullable Promise promise, EventEmitter eventEmitter, Now now);

}