Expose the exception's name when echoing it back.