public static function installErrorHandler(Isolator $isolator = null)
    {
        $handler = new ErrorHandler(null, $isolator);
        $handler->install();

        return $handler;
    }
public static function installErrorHandler(Isolator $isolator = null)
    {
        $handler = new ErrorHandler(null, $isolator);
        $handler->install();

        return $handler;
    }
public static function installErrorHandler ( Isolator $ isolator = null ) { $ handler = new ErrorHandler ( null , $ isolator ) ; $ handler -> install ( ) ; return $ handler ; }
Installs a new error handler.

@param Isolator|null $isolator The isolator to use.

@return ErrorHandlerInterface               The installed error handler.
@throws ErrorHandlingConfigurationException If the error reporting level is incorrectly configured.
Installs a new error handler .