Re: [heycam/webidl] Define 'CancelationError'. (#339)

I question the need for this at all as opposed to just using "AbortError". I don't see a need for an API to distinguish how it was canceled/aborted. That should be transparent to the user of the API (who sees this exception). Only the producer should care about CancelationController and friends.

I think it would be better to go with the platform's long precedent of using "AbortError" for these types of things. Otherwise it's very strange that e.g. XHR uses "AbortError" but fetch would use "CancelationError".

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/339#issuecomment-292686141

Received on Saturday, 8 April 2017 01:37:05 UTC