Writing a sample error trap

03 Writing a sample error trap