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

Add typed errors for known error types #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bdotdub
Copy link

@bdotdub bdotdub commented Jun 30, 2014

Structured the errors a bit more so the caller can type switch on the error to find out what kind of error it it.

Also add response error names as constants so the caller can string match again constants.

bdotdub and others added 3 commits June 26, 2014 17:46
* Also add response error names as constants
  - Responses errors are per message, and the others are
    per request
Sender: Updated GCM endpoint to FCM
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

Successfully merging this pull request may close these issues.

3 participants