Re: [whatwg/streams] rethrowAssertionErrorRejection is broken (#865)

I think the `require('assert').AssertionError` approach makes sense. It's simple and shouldn't break anything. Maybe we should use an `instanceof` check instead of strict equality in case `better-assert` decides to subclass AssertionError in future?

-- 
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/issues/865#issuecomment-355476394

Received on Friday, 5 January 2018 05:31:38 UTC