Report question

Question: How to display error type in ruby?