Emit error event
0.2.0