File: Exceptions\NuGetProtocolException.cs
Web Access
Project: NuGet.Protocol.csproj (NuGet.Protocol)
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using System;

namespace NuGet.Protocol.Core.Types
{
    /// <summary>
    /// Base protocol exception type containing a message and optional inner exception.
    /// </summary>
    public abstract class NuGetProtocolException : Exception
    {
        public NuGetProtocolException(string message)
            : base(message)
        {
        }

        public NuGetProtocolException(string message, Exception innerException)
            : base(message, innerException)
        {
        }
    }
}