on error handler...

I would not like to see it as onError resume next handler but only as crash handler.

that means, when there is a condition that makes kixtart crash, do something.
on the other hand, for this to work properly, it would need to know unknown bugs and do something when met.

one way could be some drwatson wake up call thingie.
some handler thingie that is not dependant of the kix process that runs the script.

and the normal die errors could have option for rediction just like anything placed on the console.
redirectErrors() would redirect errormessages instead of showing them to user.

so, no.
onError, I can't see it needed.
_________________________
!

download KiXnet