It is (Error e) => throw 'Failed to load $url', but the HttpRequest will call it with a `_XMLHttpRequestProgressEvent` that is not an `Error`