Creating detailed error messages like the default error template
I'm using application.cfc's onError method to email me any CF exceptions that occur. Using the exception struct provided I'm able to create a somewhat detailed email message, but seems I don't have access to the same info that would normally be displayed in a CF error template, for example I want to see the lines of code that errored, to get that I would need to do a fileread on the template which seems hack-ish. Any better way to get something more like the default error handler?
