-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
ErrorCodes.cs
69 lines (58 loc) · 2.76 KB
/
ErrorCodes.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// -----------------------------------------------------------------------------
// <copyright file="ErrorCodes.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
// </copyright>
// -----------------------------------------------------------------------------
namespace Microsoft.Management.Configuration.Processor.Exceptions
{
/// <summary>
/// This should match the ones in AppInstallerErrors.h.
/// </summary>
internal static class ErrorCodes
{
/// <summary>
/// Corresponds to E_UNEXPECTED; this code path was reached without the developer realizing it was possible.
/// </summary>
internal const int Unexpected = unchecked((int)0x8000ffff);
/// <summary>
/// The module of the unit was installed, but the unit was not found.
/// </summary>
internal const int WinGetConfigUnitNotFound = unchecked((int)0x8A15C101);
/// <summary>
/// The unit couldn't be found in the repository.
/// </summary>
internal const int WinGetConfigUnitNotFoundRepository = unchecked((int)0x8A15C102);
/// <summary>
/// Multiple units found with the same criteria.
/// </summary>
internal const int WinGetConfigUnitMultipleMatches = unchecked((int)0x8A15C103);
/// <summary>
/// Unit error calling Invoke-DscResource Get.
/// </summary>
internal const int WinGetConfigUnitInvokeGet = unchecked((int)0x8A15C104);
/// <summary>
/// Unit error calling Invoke-DscResource Test.
/// </summary>
internal const int WinGetConfigUnitInvokeTest = unchecked((int)0x8A15C105);
/// <summary>
/// Unit error calling Invoke-DscResource Set.
/// </summary>
internal const int WinGetConfigUnitInvokeSet = unchecked((int)0x8A15C106);
/// <summary>
/// Internal error calling Get-DscResource. More than one module found with the same version.
/// </summary>
internal const int WinGetConfigUnitModuleConflict = unchecked((int)0x8A15C107);
/// <summary>
/// The module where the DSC resource is implemented cannot be imported.
/// </summary>
internal const int WinGetConfigUnitImportModule = unchecked((int)0x8A15C108);
/// <summary>
/// The unit returned an invalid result.
/// </summary>
internal const int WinGetConfigUnitInvokeInvalidResult = unchecked((int)0x8A15C109);
/// <summary>
/// The unit contains a setting that requires config root.
/// </summary>
internal const int WinGetConfigUnitSettingConfigRoot = unchecked((int)0x8A15C110);
}
}