I'd like to have my global error trapping function be able to store the call stack in a file for my users to send to me.

Is there any way this can be accomplished?