function internal.isErroredunstableisErrored(stream: Readable | Writable | ReadableStream | WritableStream): booleanDeprecatedReturns whether the stream has encountered an error. Parametersstream: Readable | Writable | ReadableStream | WritableStreamReturn Typeboolean