NotificationPusher
NotificationPusher copied to clipboard
Is there way to translate the exception like python gcmclient
as you can see in http://gcm-client.readthedocs.org/en/latest/intro.html
there is different result on response
- new_reg_id
- not_registered
- err_code
- needs_retry
can we get this on information by using this notification pusher package
Hum I think a better way could be to add specific exceptions and catch them as needed, throwing a translated one for example.
Any other ideas about that?
yep i think that is the most appropriate solution, giving specific exception like \DeviceNotRegistered or something else
Just added this point to 2.3.0 version milestone.