I see this questions about this posted a lot. I also see numerous responses telling people to read through C header files. While you certainly cannot identify application level exit codes without valid documentation for the package, you can get the Ubuntu/Linux exit codes with one easy command.
kill -l