LDC Command Line Exit Codes#
When an LDC command completes successfully, the exit code will be zero. When an error occurs, one of the following exit codes will be returned.
Exit Code |
Error name |
Details |
---|---|---|
1 |
Cannot add input source |
An exception occurred when attempting to add the supplied input source to the Lattix project. |
2 |
Cannot support module |
Problems occurred accessing the module (e.g. clang, understand) information for the project. It is possible that the wrong module name was specified on the command line. |
3 |
Lattix file not found |
The specified LDZ file was not found in the file system. |
4 |
Cannot create and update |
A project cannot be simultaneously updated and created. Either use LDCUpdate to create a new project or update an existing one. This error can occur if you specify a project to be updated that is not found in the file system. |
5 |
Corrupt LDZ file |
An exception occurred when trying to read the provided LDZ file. Either the specified file is not an LDZ file, or it has been corrupted. |
6 |
No report type selected |
LDCReport was run with no report type specified. Run it again with a report type parameter, e.g. -impact or -uses |
7 |
Cannot create datasource |
The requested LDZ file cannot be created. Check write permissions of the requested location. |
8 |
Datasource files missing |
LDCUpdate cannot continue because some of the input source files for the LDZ are missing. View the project properties of the LDZ to see the expected files. |
9 |
Project file already exists |
This error can occur (1) when using LDCUpdate to create a new project when the specified project already exists or (2) when using LDCPublish to upload an LDZ file to a snapshot that already exists. |
10 |
Cannot create source |
An error occurred when attempting to create source from the input argument given. |
11 |
Project file not found |
The requested LDZ file cannot be found in the file system. |
12 |
Cannot generate report of requested type |
LDCReport cannot generate the requested report for the given project. |
13 |
Feature not licensed |
Your Lattix license does not support the feature you are trying to use Contact your license supplier for assistance |
14 |
Cannot find workspace for file |
The file specified does not appear to be a functioning LDZ with an associated workspace. |
15 |
Invalid options |
The options provided to the LDC utility are not valid. Run the executable with the -help option for assistance. |
16 |
Need two projects |
LDCDiff requires two LDZ files to diff. Specify both in the command you run. |
17 |
Cannot load project |
An error occurred when attempting to load the provided LDZ file. |
18 |
Unable to perform update |
An error occurred when attempting to perform the project update. |
19 |
Project creation exception |
An error occurred when attempting to create the project. |
20 |
Repository not found |
The specified repository could not be found. |
21 |
Cannot parse response from server |
An exception occurred when attempting to retrieve information from the server. |
22 |
Report exception |
An error occurred when attempting to create the report. See message details for further information. |
23 |
Snapshot exception |
An error occurred when attempting to save to snapshot using LDCGet. |
24 |
No options supplied |
No options have been supplied to the LDC utility. Run with -help option for further assistance. |
25 |
Invalid URI |
The URI provided is invalid. |
26 |
Plugin failed to load file |
The module (e.g. clang, understand) could not load the provided file. |
27 |
Opening data exception |
An exception occurred when attempting to open data |
28 |
Missing files on update |
LDCUpdate cannot continue because some of the input source files for the LDZ are missing. View the project properties of the LDZ to see the expected files. |
29 |
Out of memory |
The system ran out of memory while attempting to run the command. |
30 |
Unknown runtime exception |
An unknown runtime exception occurred. See message details for further information. |
31 |
Unknown exception |
An unknown exception occurred. See message details for further information. |
32 |
Upload failed |
LDCPublish failed to upload the given project file. |
33 |
SARIF export unsupported |
The specified report type is not supported for SARIF export. See LDCReport help for information on which reports can be exported to SARIF. |