Currently, panic is used to print error, which is not friendly and lack of details and explanations.