Wrap exception details in <pre> block.