6. Exit Codes

When SLB terminates, it reports the result of its invocation in form of exit code. Exit code of 0 indicates normal termination. Non-zero exit codes indicate some kind of error. In this case the exact cause of failure will be reported on the currently selected logging channel.

The exit codes are as follows:

0 (EX_OK)

Normal termination.


The program was invoked incorrectly.


Input data were invalid or malformed. This error code is returned only when slb is used with ‘--test’ or ‘--eval’ options (see section Test Mode).


Some error occurred. For example, the program was unable to open output file, etc.


Internal software error. This usually means hitting a bug in the program, so please report it (see section How to Report a Bug).


Program terminated due to errors in configuration file.