chr
2026-04-05 fe750b791d5b517cc4e9bc8e99a9a75139a0cfba
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
 
namespace OpenTap.Cli
{
    /// <summary>
    /// ExitCodes reserved by OpenTAP. Uses range 192 to 255. OpenTAP Plugins should use positive numbers between 1 and 191 for custom error codes.
    /// For best cross platform compatibility all exitcodes should be positive and between 0 and 255.
    /// </summary>
    public enum ExitCodes
    {
        /// <summary>
        /// CLI action completed successfully
        /// </summary>
        [Display("Success", "Action completed successfully")]
        Success = 0,
 
        /// <summary>
        /// User cancelled CLI action
        /// </summary>
        [Display("User Cancelled", "Action cancelled by user")]
        UserCancelled = 192,
 
        /// <summary>
        /// CLI action threw an unhandled exception
        /// </summary>
        [Display("General Error", "An unhandled exception occurred")]
        GeneralException = 193,
 
        /// <summary>
        /// No CLI action found matching commands
        /// </summary>
        [Display("Unknown Action", "Found no CLI action matching command")]
        UnknownCliAction = 194,
 
        /// <summary>
        /// CLI action missing a license
        /// </summary>
        [Display("LicenseError", "A required license is missing")]
        LicenseError = 195,
 
        /// <summary>
        /// Unable to parse one or more arguments
        /// </summary>
        [Display("Argument Parse Error", "Unable to parse one or more arguments")]
        ArgumentParseError = 196,
 
        /// <summary>
        /// One or more arguments is incorrect
        /// </summary>
        [Display("Argument Error", "One or more arguments are incorrect")]
        ArgumentError = 197,
 
        /// <summary>
        /// Network error occurred
        /// </summary>
        [Display("Network Error", "A network error occurred")]
        NetworkError = 198,
 
        /// <summary>
        /// Package resolution Error
        /// </summary>
        [Display("Package Resolution Error", "A package configuration was not able to be resolved.")]
        PackageResolutionError = 199,
    }
}