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

Formatting errors per adapter #15

Open
dballona opened this issue Sep 21, 2016 · 0 comments
Open

Formatting errors per adapter #15

dballona opened this issue Sep 21, 2016 · 0 comments

Comments

@dballona
Copy link
Owner

Some adapters may accept different characters as the phone to receive message.

We should create error specializations (or maybe just log errors?) for each one of the Adapter classes, with correct messages if something goes wrong, e.g.:

Twilio:
21211: Invalid 'To' Phone Number
21401: Invalid Phone Number
21407: This Phone Number type does not support SMS
21614: 'To' number is not a valid mobile number

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

1 participant