MangoPay/mangopay2-php-sdk — pull request #16 by paulandrieux (2014-03-25 22:04:59+00:00)
Title: add debug mode

This PR allow to pass a "debug" argument to MangoPayApi object. If debug is activated, Exceptions will not be thrown when api calls fails, but will return the error code and message. This is usefull for manual error handling and bring more flexibility to the SDK.

The debug argument is default false, so this PR will not BC break.