Add error type to empty error events.