Right now error handling is implemented via complicated scheme, where errors are boxed to indicate that they are errors. Although it would be a lot simpler if errors were just instances of error. For example
if stream contains value where Object.prototype.toString.call(value) === "[object Error]" that stream is
considered to be broken.
Right now error handling is implemented via complicated scheme, where errors are boxed to indicate that they are errors. Although it would be a lot simpler if errors were just instances of error. For example if stream contains value where
Object.prototype.toString.call(value) === "[object Error]"
that stream is considered to be broken.