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 Custom Errors #9

Closed
2 tasks
raybesiga opened this issue Feb 25, 2019 · 0 comments
Closed
2 tasks

Add Custom Errors #9

raybesiga opened this issue Feb 25, 2019 · 0 comments

Comments

@raybesiga
Copy link
Member

Is your feature request related to a problem? Please describe.

The library needs to throw custom errors depending on what errors are returned by MTN

Describe the solution you'd like

We should add custom error classes and throw them when the corresponding error occurs

Tasks

  • Add error classes for all possible MTN errors
  • Throw the correct exceptions depending on errors that occur
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

2 participants