Skip to content

Add Custom Error Handling #7

@raybesiga

Description

@raybesiga

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions