| File: Installers\NuGet\Exceptions\InvalidNuGetPackageException.cs | Web Access |
| Project: src\sdk\src\TemplateEngine\Microsoft.TemplateEngine.Edge\Microsoft.TemplateEngine.Edge.csproj (Microsoft.TemplateEngine.Edge) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.TemplateEngine.Edge.Installers.NuGet { internal class InvalidNuGetPackageException : Exception { public InvalidNuGetPackageException(string packagePath) : base($"The NuGet package {packagePath} is invalid.") { PackageLocation = packagePath; } public InvalidNuGetPackageException(string packagePath, Exception innerException) : base($"The NuGet package {packagePath} is invalid.", innerException) { PackageLocation = packagePath; } public string PackageLocation { get; private set; } } }