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

Clarify how loaders should communicate errors #30

Open
binki opened this issue Jul 16, 2016 · 1 comment
Open

Clarify how loaders should communicate errors #30

binki opened this issue Jul 16, 2016 · 1 comment

Comments

@binki
Copy link

binki commented Jul 16, 2016

I was looking at https://github.com/amdjs/amdjs-api/blob/67486d6b199cd026f5e66151566836c8ba149099/LoaderPlugins.md and couldn’t find anything obviously sticking out on how a loader plugin should communicate load failure. It doesn’t seem like load() should be called when there is an error. Should there be a new error callback or something?

@jrburke
Copy link
Contributor

jrburke commented Jul 24, 2016

I don't think there is much interest in fleshing out the loader plugin API much now, so I would not expect much activity here. requirejs does allow an error notification by calling load.error(), described as onload.error in its plugin doc section.

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

No branches or pull requests

2 participants