internal.isErrored - Node documentation
function internal.isErrored
Unstable

Usage in Deno

import { internal } from "node:stream";
const { isErrored } = internal;
isErrored(stream:
Readable
| Writable
| ReadableStream
| WritableStream
): boolean

Returns whether the stream has encountered an error.

Parameters

stream:
Readable
| Writable
| ReadableStream
| WritableStream

Return Type

boolean