Skip to content

Couldn't find 'errors' array into Mailchimp class #235

Description

@teolaz

Hi there,
i just realized that inspecting your class you arent' checking the errors json encoded array from the response body of Mailchimp servers, if a 4xx error occourred, it should be interesting to have a getErrorsArray method on class to parse each error...
Do you think that will be possible?
Clearly, the last_error variable is populated with the status and detail of the formattedResponse, but that seems not to be enough for complete controlling the errors....

image

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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