File: System\Net\ExceptionHelper.cs
Web Access
Project: src\src\libraries\System.Net.Requests\src\System.Net.Requests.csproj (System.Net.Requests)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Net
{
    internal static class ExceptionHelper
    {
        internal static NotSupportedException PropertyNotSupportedException => new NotSupportedException(SR.net_PropertyNotSupportedException);
 
        internal static WebException RequestAbortedException => new WebException(SR.net_reqaborted);
 
        internal static WebException TimeoutException => new WebException(SR.net_timeout);
    }
}