Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate original HTTP error event #230

Open
liy opened this issue May 5, 2017 · 0 comments
Open

Propagate original HTTP error event #230

liy opened this issue May 5, 2017 · 0 comments

Comments

@liy
Copy link

liy commented May 5, 2017

There could multiple types of loading error. At the moment it is hidden by the custom ErrorEvent. For example, there is no way to tell the file request is cancelled or it is actually missing.

https://github.com/CreateJS/PreloadJS/blob/master/src/preloadjs/LoadQueue.js#L1611

It make sense to keep the original http error code in your custom ErrorEvent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants