ENH: added error events