Is there a defined list of the exit codes that rpm will return based on the type of error it had? For instance, I would like to be able to determine in an install script if rpm -U failed because the package was already installed, or because the user did not have sufficient rights, etc.