switched to symbolic event names
added support for end error event -> job failure