What is the difference between a general exception message and a specific error message?

Question

Grade: Education Subject: Support
What is the difference between a general exception message and a specific error message?
Asked by:
88 Viewed 88 Answers

Answer (88)

Best Answer
(323)
A general exception message is broad and lacks specific details about the error. A specific error message provides details about the cause of the error, such as an invalid parameter, a missing file, or a database connection failure. Specific error messages are much more helpful for debugging and understanding the problem.