Report question

Question: How to trap exit code in Bash script