Skip to content

throw better exceptions #12

@yoannisj

Description

@yoannisj

Currently API error codes are included as string at the end of the \Coconut\Error::message property. It would be more convenient to add an api_error_code property on the exception class, so it can easily be inspected to the php code using this library and each error can be handled differently if needed.

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