If I write an Error handler. Is it possible in code to look at the stack, so I can write it down in a log file?