ENYO-3553: Fixed missing onError event declaration

Enyo-DCO-1.1-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>
Merge pull request #668 from enyojs/ENYO-3553

ENYO-3553: Fixed missing onError event declaration