winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

ErrorCodes.cs (845B)


      1 // -----------------------------------------------------------------------------
      2 // <copyright file="ErrorCodes.cs" company="Microsoft Corporation">
      3 //     Copyright (c) Microsoft Corporation. Licensed under the MIT License.
      4 // </copyright>
      5 // -----------------------------------------------------------------------------
      6 
      7 namespace Microsoft.WinGet.SharedLib.Exceptions
      8 {
      9     /// <summary>
     10     /// This should match the ones in AppInstallerErrors.h.
     11     /// </summary>
     12     internal static class ErrorCodes
     13     {
     14 #pragma warning disable SA1600 // ElementsMustBeDocumented
     15         internal const int AppInstallerCLIErrorInternalError = unchecked((int)0x8A150001);
     16         internal const int AppInstallerCLIErrorBlockedByPolicy = unchecked((int)0x8A15003A);
     17 #pragma warning restore SA1600 // ElementsMustBeDocumented
     18     }
     19 }