Added dispatch error event listener.
Added dispatch error event listener.

tags:[ch-events]

slaff/learnzf2-v1,pwatt9/learnzf2,slaff/learnzf2,slaff/learnzf2,slaff/learnzf2-performance,pwatt9/learnzf2,slaff/learnzf2-v1,slaff/learnzf2-performance