Ah, like the old Visual Basic "ON ERROR" system? (Of course, that was nearly always used for ON ERROR RESUME NEXT)
To have this used by libraries and libraries users won't you need some standardization though in the language? Otherwise you get various implementation.
Yup, that's another reason I love Lisp — it's been standardised since 1994, and everyone supports it (and since it's standardised and provided by the implementation, there are efficiency hacks possible which you wouldn't want in normal library code).
Lisp has been doing things newer languages still don't do since before a lot of modern programmers were even born. And there are relatively few warts for that age (upcasing and the pathname functions are the warts which leap to mind)!
Add in some type detection &c. and this could start to be useful. But it'd still be hellaciously verbose compared to the Lisp: