CatalogConnectException.cs (1040B)
1 // ----------------------------------------------------------------------------- 2 // <copyright file="CatalogConnectException.cs" company="Microsoft Corporation"> 3 // Copyright (c) Microsoft Corporation. Licensed under the MIT License. 4 // </copyright> 5 // ----------------------------------------------------------------------------- 6 7 namespace Microsoft.WinGet.Client.Engine.Exceptions 8 { 9 using System; 10 using System.Management.Automation; 11 using Microsoft.WinGet.Resources; 12 13 /// <summary> 14 /// Failed connecting to catalog. 15 /// </summary> 16 [Serializable] 17 public class CatalogConnectException : RuntimeException 18 { 19 /// <summary> 20 /// Initializes a new instance of the <see cref="CatalogConnectException"/> class. 21 /// </summary> 22 /// <param name="inner">The exception that lead to this one.</param> 23 public CatalogConnectException(Exception inner) 24 : base(Resources.CatalogConnectExceptionMessage, inner) 25 { 26 } 27 } 28 }