The exception handling mechanism of the software system is very important. It should do two points below:
1. Provide the user with complete, comprehensive, and humanized error prompts.
The steering capability of the user error handling is also available. After an error occurs, the user needs to know how to handle the next step.
2. Provide a programmer error or exception tracking debugging information.
Abnormal or wrong information is very important to find the programmer.