UnknownStreamEventError constructor

UnknownStreamEventError(
  1. ServerSentEvent event
)

Default constructor.

Created with the event that was received but not understood by this library.

Implementation

UnknownStreamEventError(this.event);