This is a placeholder to remind the authors that documentation for this topic needs to be written.
Here are two links that might be helpful:
• Error Trapping in Functions
• Error Trapping in Subroutines