I've parsed the REST docs to generate 2 YAML files of the error codes for easy lookup, one using the code as a key and the other using the name. I thought I'd share for those interested. Not quite sure which will be more useful yet. Let me know if there are any missing, but this should be a complete list.
error_codes.zip (26.6 K)