Hi
I am wondering what is the best way to perform error handling on a server side action script.
I have tried with throw but the exception is not risen in the client events.
function(properties, context) {
throw "I would like to see this as an error on the client."
// We don't get here anyways.
var result = {
token : 'returned value'
};
return result;
}
Any other ideas?
Kind Regards
Mario