Skip to main content
internal.isErrored - stream - Node documentation
function internal.isErrored
Unstable

Usage in Deno

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

Returns whether the stream has encountered an error.

Parameters

stream:
Readable
| Writable
| ReadableStream
| WritableStream

Return Type

boolean