I found out that throwing errors in Event classes was not handled in all cases although errorHandler is provided by interface.
Errors was only handled for delays, not for streams, and it was also not implemented in every Event class.
So in this mr I have implemented error handling in every Event class in every case including stream events to use provided errorHandler.
I also did some codestyle fixes and described types in doc block more strictly.
I found out that throwing errors in Event classes was not handled in all cases although errorHandler is provided by interface.
Errors was only handled for delays, not for streams, and it was also not implemented in every Event class.
So in this mr I have implemented error handling in every Event class in every case including stream events to use provided errorHandler.
I also did some codestyle fixes and described types in doc block more strictly.