diff --git a/html/errcodes.html b/html/errcodes.html index 85f53b4d..679b49dc 100644 --- a/html/errcodes.html +++ b/html/errcodes.html @@ -18,11 +18,62 @@
+Following is a list of return codes from all official mbse programs and +utilities. These codes can be used in scripts. If a program exits normally, the +return code is 0. If a program exits by a signal, the return code is the signal +number. This means if you kill a running program with a SIGTERM, the programs +exits with the SIGTERM error number. On most platforms this is 15. Here is the +list of other return codes: +
+The mailer can also return the following error codes: +
+When an external program is run, a mbse program can exit with return code 256 + +the return code of the external program. So if the external program exits with +error code 7, the code returned by the mbse program is 263. +