* Errors both the readable side and the writable side of the controlled transform stream, making all future * interactions with it fail with the given error `e`. Any chunks queued for transformation will be discarded.
(reason = void 0)
| 14469 | * interactions with it fail with the given error `e`. Any chunks queued for transformation will be discarded. |
| 14470 | */ |
| 14471 | error(reason = void 0) { |
| 14472 | if (!IsTransformStreamDefaultController(this)) { |
| 14473 | throw defaultControllerBrandCheckException("error"); |
| 14474 | } |
| 14475 | TransformStreamDefaultControllerError(this, reason); |
| 14476 | } |
| 14477 | /** |
| 14478 | * Closes the readable side and errors the writable side of the controlled transform stream. This is useful when the |
| 14479 | * transformer only needs to consume a portion of the chunks written to the writable side. |
nothing calls this directly
no test coverage detected