Re: How to interrupt reload and throw error if field is empty?
I haven't found a command to throw exceptions but instead i use a dummy call to a sub that does not exist:
if someError then call ThrowException('Error: some kind of error'); // the sub doesn't exist ==> qv error end if
This will propagate an error back to the publisher and report the task as failed. If sometime in the future qliktech will implement a (or I learn how of) way to throw exceptions, for instance by letting us set "ScriptError", then it is easy to create the sub ThrowException to use that feature.