Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

MailChimp error handler #283

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
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.

None yet

1 participant