Replaced error events text with Error instances