Is there such thing as a standard set of application return codes? Things like returning 0 for success 1 for failure, and then so on?
I have a Windows Server application that I am adding some return error codes and wanted to stick to standard codes in addition to the app specific ones that I will need.
There is no such thing as a standard set of exit codes that applications should conform to.
However, there are some common ones like 0 for success as you mentioned. Depending on the Operating System and tools you use, you may be able to look at the exit codes for similar apps and mimic them.