refactor: a better abort error message (#47)

Change to message as described here: https://heycam.github.io/webidl/#aborterror
This commit is contained in:
Alan Shaw 2019-04-18 15:47:47 +01:00 committed by Jacob Heun
parent 4fd37bb616
commit 06ed59dc39

View File

@ -2,7 +2,7 @@
class AbortError extends Error {
constructor () {
super('AbortError')
super('The operation was aborted')
this.code = AbortError.code
this.type = AbortError.type
}