core\Error::registerHandler PHP Méthode

registerHandler() public static méthode

Register custom handler for uncaught exception and errors
public static registerHandler ( )
    public static function registerHandler()
    {
        set_exception_handler(array(__CLASS__, 'handleUncaughtException'));
        set_error_handler(array(__CLASS__, 'handlePHPError'), E_ALL);
    }