Add Exception#details method.

- Outputs the exception class and message.