File tree 2 files changed +10
-10
lines changed 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
- # Running this script will return an exit code, which are defined here:
2
- # These are for errors that most of my scripts could have:
3
- guExitCodeSuccess = 0 ;
4
- guExitCodeInternalError = 1 ;
5
- guExitCodeBadArgument = 2 ;
6
- guExitCodeBadDependencyError = 3 ;
7
- guExitCodeLicenseError = 4 ;
8
- guExitCodeCannotReadFromFileSystem = 5 ;
9
- guExitCodeCannotWriteToFileSystem = 6 ;
10
- guExitCodeTerminatedByUser = 7 ;
1
+ from mStandardExitCodes import * ;
11
2
# These are specific to this particular script:
12
3
guExitCodeApplicationBinaryNotFound = 10 ;
13
4
guExitCodeNoBugsDetected = 11 ;
Original file line number Diff line number Diff line change
1
+ # These error codes are the same for any script that adheres to this standard:
2
+ guExitCodeSuccess = 0 ;
3
+ guExitCodeInternalError = 1 ;
4
+ guExitCodeBadArgument = 2 ;
5
+ guExitCodeBadDependencyError = 3 ;
6
+ guExitCodeLicenseError = 4 ;
7
+ guExitCodeCannotReadFromFileSystem = 5 ;
8
+ guExitCodeCannotWriteToFileSystem = 6 ;
9
+ guExitCodeTerminatedByUser = 7 ;
You can’t perform that action at this time.
0 commit comments