Skip to content

Throw exception on response error #19

@abdul-alhasany

Description

@abdul-alhasany

Thanks for this package.

While using it I relized I had to check for error key for each response. It would be great if the library itself did that and then throws an exception.

This will make less verbose code and easier to maintain since there will be less if ... throw

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions