Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@otsch otsch released this 03 Aug 18:17
0dc24ef

Added

  • Error handling functionality. You can now add a error_handler in your config, like this: ['error_handler' => ['class' => MyErrorHandler::class, 'active' => true]. The class needs to extend the new abstract class Otsch\Ppq\AbstractErrorHandler. In its boot() method you can register one or multiple error handlers via its own registerHandler() method. The handlers are automatically called with any uncaught exception or PHP warnings and errors (turned into ErrorExceptions) occuring during a PPQ job execution.