Instances of this class are used as rejection reasons when a stream ends while being consumed.
Extends Error
.
Each instance will have a name
property with a value of "end-of-stream"
.
However, the instances will not have stack traces.
Node should log the error as [EndOfStreamError]
.
EndOfStreamError