ErrorUtil
What is this ?
This is a static class that will help you to deal with error
Example :
var ModuleModel = Class.create(ModelHelper, {
...
changeValue: function(value) {
try {
var sp = value.split(' ');
} catch (error) {
trace(ErrorUtil.get(error));
}
},
...
});
ErrorUtil method
get(error)
Will return a text describing the error. The result depends of the browser you are using.