Above were the patchadd exit codes.
These are the patchrm exit codes.
Code:
# patchrm Exit Codes:
# 0 No error
# 1 Usage error
# 2 Attempt to backout a patch that hasn't been applied
# 3 Effective UID is not root
# 4 No saved files to restore
# 5 pkgrm failed
# 6 Attempt to back out an obsoleted patch
# 7 Attempt to restore CPIO archived files failed
# 8 Invalid patch id format
# 9 Prebackout script failed
# 10 Postbackout script failed
# 11 Suspended due to administrative defaults
# 12 Patchrm could not locate the backout data
# 13 The relative directory supplied can't be found
# 14 Patchadd has been interrupted, re-invoke patchadd
# 15 This patch is required by a patch already installed, can't back it out
# 16 Unable to create safe temporary directory
# 17 Must be running Solaris 2.6 or greater
# 18 Error unable to retrieve patch information from SQL DB.
# 19 Lock file not available
# 20 Insufficient space to uncompress undo.Z files
# 21 Unable to copy pkginfo file to pspool directory