News for hackers. Stuff that matters.
Re:The art of the error message by reacweb on Monday January 08, 2018 @05:09AM (#16095761)
IMHO better error messages start with less architecture. When we try to optimize the code reuse, we obtain a split between the code that detect the error but do not have any cue about the action the user is performing and the caller that will receive a generic error message (string) with no way to do something clever without breaking abstraction.
Re:The art of the error message by martincmartin on Monday January 08, 2018 @09:02AM (#16096743)
The higher level can catch the error, and context, and re throw.