Skip to content

1.0.0

Compare
Choose a tag to compare
@josantonius josantonius released this 31 Jan 02:30
· 2 commits to 41eb614365eda395e45255a537338f4ca1ab5c80 since this release

What's Changed

  • Compatible only with PHP 7.0 or higher. In the next versions, the library will be modified to make it compatible with PHP 5.6 or higher.

  • Added Josantonius\ErrorHandler\ErrorHandler class.

  • Added Josantonius\ErrorHandler\ErrorHandler->__construct() method.

  • Added Josantonius\ErrorHandler\ErrorHandler->catchThrowable() method.

  • Added Josantonius\ErrorHandler\ErrorHandler->catchException() method.

  • Added Josantonius\ErrorHandler\ErrorHandler->catchError() method.

  • Added Josantonius\ErrorHandler\ErrorHandler->exception() method.

  • Added Josantonius\ErrorHandler\ErrorHandler->prepareException() method.

  • Added Josantonius\ErrorHandler\ErrorHandler->getErrorType() method.

  • Added Josantonius\ErrorHandler\ErrorHandler->show() method.

  • Added Josantonius\ErrorHandler\Exception\ErrorHandlerException class.

  • Added Josantonius\ErrorHandler\Exception\Exceptions abstract class.

  • Added Josantonius\ErrorHandler\Exception\ErrorHandlerException->__construct() method.

  • Added Josantonius\ErrorHandler\Tests\ErrorHandlerTest class.

  • Added Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeException() method.

  • Added Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeWarning() method.

  • Added Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeNotice() method.

  • Added Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeUserError() method.

  • Added Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeUserNotice() method.

  • Added Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeUserWarning() method.

Full Changelog: https://github.com/josantonius/php-error-handler/commits/1.0.0