Does anyone have a List of hive error codes?
If you look at https://github.com/apache/hive/blob/master/common/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java you'll see most of the error codes.
Although in order to map these to an exit code, you'd probably have to walk through the CLI code to trace that.