Created this for easily printing exception details to string so that it can be logged or emailed quickly.