One to read: “Using HEREDOCs in bash to grep exit code details”
This accidentally included the content of the blog post I was recommending reading, and has been removed.
It explains how you could use HEREDOC blocks to automatically document your exit codes, and looked quite interesting.