Comments (5)
@deceze I've made improvements to the error handling in the last commit. There is still a little bit of work to be done before I tag a release, but it should fix the issue that you're experiencing.
from angular-wamp.
So there's one central error event being emitted instead of being able to directly chain the call? That would greatly complicate the client side code I need to write, wouldn't it?
from angular-wamp.
It does both. It emits an event and rejects the promise, which calls the error callback, so your code example should work. Let me know if it works for you.
from angular-wamp.
I see, great! Will give it a try and report back.
from angular-wamp.
I've updated to master
and it's working as it should now. 👍
from angular-wamp.
Related Issues (20)
- Publish latest 0.1.7 to npm HOT 2
- Any thoughts on Angular 2? HOT 13
- Set realm from variable HOT 2
- Session not open error on re connection
- subscribeOnScope promise does not return subscription HOT 2
- Error: [$rootScope:inprog] when subscribing to two Topics HOT 2
- Multiple connections, returned functions use options from last connection
- Unsubscribe gives error HOT 2
- Bower mismatch HOT 1
- connection alternatives HOT 3
- Version on npm is outdated HOT 1
- Working Example HOT 1
- is it possible to use angular-wamp with gos web socket bundle.? HOT 1
- Unable to subscribe from a topic. HOT 1
- Reconnect after connection lost HOT 5
- error callback on subscribe failure is not getting called. HOT 6
- Update dependencies HOT 1
- Cannot uglify on Gulp HOT 1
- problem angular-wamp in angular4 HOT 2
- Establishing a tunnel via proxy server failed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-wamp.