Skip to content

Conversation

drzraf
Copy link

@drzraf drzraf commented Oct 2, 2019

This is a handy & opt-in error-handler.

Based on my past MailChimp experiences I found there are many ways a MailChimp request can fail, and many try rightfully to handle them over and over again.

This error handler classifies a couple of failures and should help programmers to simplify their own error-handling routines.
Since, 99% error-handlers also implement some logging alongside (which can hardly be extracted out of the error-handling itself), some logging capability are provided (and try to play nice with user not providing a \Psr\Log\LoggerInterface).

PR related to errors: #165, #236, #239, #275

@drzraf drzraf changed the title MailChimp errors handler MailChimp error handler Oct 2, 2019
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

Successfully merging this pull request may close these issues.

1 participant