onStreamingError

Assigns a handler for errors occurred when delivering events.

If such an error occurs, no more events resulting from the posted command will be delivered to the consumers.