enum Poco::Util::Application::ExitCode
Overview
Commonly used exit status codes. More…
#include <Application.h> enum ExitCode { EXIT_OK = 0, EXIT_USAGE = 64, EXIT_DATAERR = 65, EXIT_NOINPUT = 66, EXIT_NOUSER = 67, EXIT_NOHOST = 68, EXIT_UNAVAILABLE = 69, EXIT_SOFTWARE = 70, EXIT_OSERR = 71, EXIT_OSFILE = 72, EXIT_CANTCREAT = 73, EXIT_IOERR = 74, EXIT_TEMPFAIL = 75, EXIT_PROTOCOL = 76, EXIT_NOPERM = 77, EXIT_CONFIG = 78, };
Detailed Documentation
Commonly used exit status codes.
Based on the definitions in the 4.3BSD <sysexits.h> header file.
Enum Values
EXIT_OK
successful termination
EXIT_USAGE
command line usage error
EXIT_DATAERR
data format error
EXIT_NOINPUT
cannot open input
EXIT_NOUSER
addressee unknown
EXIT_NOHOST
host name unknown
EXIT_UNAVAILABLE
service unavailable
EXIT_SOFTWARE
internal software error
EXIT_OSERR
system error (e.g., can’t fork)
EXIT_OSFILE
critical OS file missing
EXIT_CANTCREAT
can’t create (user) output file
EXIT_IOERR
input/output error
EXIT_TEMPFAIL
temp failure; user is invited to retry
EXIT_PROTOCOL
remote error in protocol
EXIT_NOPERM
permission denied
EXIT_CONFIG
configuration error