writableStreamDefaultController.error([error])
error
<any>
由用户代码调用以表示在处理 WritableStream
数据时发生了错误。调用时,<WritableStream> 将被中止,当前挂起的写入被取消。
¥Called by user-code to signal that an error has occurred while processing
the WritableStream
data. When called, the <WritableStream> will be aborted,
with currently pending writes canceled.