60 throw Exception(
"This is an example exception.");
ExitCode
Strongly typed exit numbers.
Example of an Elements program.
#define MAIN(ELEMENTS_PROGRAM)
ELEMENTS_API const Path::Item & getProgramPath() const
ExitCode main() override
The "main" method.
ELEMENTS_API const Path::Item & getProgramName() const
define a list of standard exit codes for executables
Elements base exception class.
void defineOptions() override
defines the base Elements exception class