Wildcard in handler doesn't work
See original GitHub issueHi,
The wildcard for error code handlers doesn’t seem to work:
.on('success', cb)
.on('40*', function () {
console.log('in 400 handler');
})
My code in this case is 403 and if I specify it explicitly, the handler gets called. But not with the 40*
.
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
ResourceHandler conflict with wildcards in Controllers
This issue is caused beause of the way that Spring handles requests from users. There are several HandlerMapping s and they are executed...
Read more >Wildcard route handler not called - Google Groups
The behavior you're experiencing seems correct. In your first attempt, you have nothing in your URL path to match the actual wildcard itself....
Read more >Error - No handler for type [wildcard] - Elastic Discuss
Hi, I'm trying to experiment with the wildcard field since i'm trying to perform queries over text fields that seem to fit perfectly...
Read more >wildcard-api - npm
Wildcard uses the Fetch API and doesn't catch errors thrown by fetch() , allowing you to handle network errors as you wish. You...
Read more >Wildcard collision handler · Issue #136 · viblo/pymunk - GitHub
Currently, the specific handler overrides the wildcard when a shape of type 2 is involved. In the doc, it says you need to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ultamatt thanks to report it. I’ve fixed the samples.
Bump. I also struggled with this for an hour or two before finding this. I’ll update your documentation if you’ll merge my pull.
*Edit: Actually, you should change it here: The Readme looks fine. http://krampstudio.com/aja.js/#samples