create proper error events instead of strings
1.0.1