src/Api/Installation/NotInstallableException.php
public static function targetNotFound($targetName, Exception $cause = null)
    {
        return new static(sprintf(
            'The install target "%s" does not exist.',
            $targetName
        ), self::TARGET_NOT_FOUND, $cause);
    }
public static function targetNotFound($targetName, Exception $cause = null)
    {
        return new static(sprintf(
            'The install target "%s" does not exist.',
            $targetName
        ), self::TARGET_NOT_FOUND, $cause);
    }
public static function targetNotFound ( $ targetName , Exception $ cause = null ) { return new static ( sprintf ( 'The install target "%s" does not exist.' , $ targetName ) , self :: TARGET_NOT_FOUND , $ cause ) ; }
Creates an exception for a target name that was not found.

@param string    $targetName The target name.
@param Exception $cause      The exception that caused this exception.

@return static The created exception.
Creates an exception for a target name that was not found .