Skip to main content
TransformStreamDefaultController.error - stream/web - Node documentation
method TransformStreamDefaultController.error

Usage in Deno

import { type TransformStreamDefaultController } from "node:stream/web";
TransformStreamDefaultController.error(reason?: any): void

Parameters

optional
reason: any

Return Type

void