Re: [whatwg/streams] Unified error handling for WritableStream (#721)

ricea commented on this pull request.



>    return promise;
 }
 
-function WritableStreamError(stream, error) {
-  stream._state = 'errored';
-  stream._storedError = error;
+function WritableStreamSetPendingError(stream, reason) {

Looking at existing abstract operations, it seemed like "WritableStreamErroring" was the most consistent option, so I went with that.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/721#discussion_r109143759

Received on Friday, 31 March 2017 11:53:48 UTC