plugin/com.blackberry.invoke/src/blackberry10/index.js
function (error) {
                if (error) {
                    result.callbackError(error, false);
                } else {
                    result.callbackOk(undefined, false);
                }
            }
function (error) {
                if (error) {
                    result.callbackError(error, false);
                } else {
                    result.callbackOk(undefined, false);
                }
            }
function ( error ) { if ( error ) { result . callbackError ( error , false ) ; } else { result . callbackOk ( undefined , false ) ; } }
if request contains invalid args, the invocation framework will provide error in callback no validation done here
if request contains invalid args the invocation framework will provide error in callback no validation done here