ERRORLEVEL Global Variable
If you generate output using the command line, Flare sends a value to the command line's ERRORLEVEL global variable. This value indicates the success, or lack of success, of the compilation and/or publishing process. To see this value, type ECHO %ERRORLEVEL% at the command prompt after the compilation finishes. Only one value can be shown at a time.
Important For more details on a particular error code, please refer to the log file that is generated. See Opening Build Logs.
Codes listed below in red indicate that the output did not compile at all. For the other codes, there may be issues (e.g., missing linked file), but the output is still able to finish compiling.
[Menu Proxy — Headings — Online — Depth3 ]
Common Codes
- 0 = Success - No problems
-
1 = One or more Target Builds failed – One or more of the targets failed to compile
-
2 = One or more Publish Targets failed – One or more of the targets failed to compile
- 3 = Build completed with compiler warnings
- 4 = Compiler reported errors
- 5 = Failed to process one or more project import files
- 6 = Failed to load topic
- 7 = Missing linked file
Other Codes
-
-1 = Application error – Something critical has forced Flare to close
-
1000 = Zero arguments passed in
- 1001 = Show Help
-
2000 = Unlicensed Flare
-
2001 = Flare not activated
-
2002 = Invalid license activation code
-
2003 = License expired
-
2004 = Evaluation expired
-
2005 = Trial expired
-
2006 = Project does not exist
-
2007 = Batch file does not exist
-
2008 = Floating session request failed
-
2009 = Floating session timeout
-
2010 = Target not found