Skip to content

MailChimp error handler #283

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

MailChimp error handler #283

wants to merge 1 commit into from

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant