Re:Stop Forwarding Errors, Start Designing Them
by amelius on Sunday January 04, 2026 @07:06PM
(#46493771)
I'm pretty sure an LLM will be able to handle an instruction such as:
"Wherever exceptions are thrown, add as much contextual information to the exceptions as possible. Use class RichException<Exception> to store the extra information". Etc. etc.
Re:Stop Forwarding Errors, Start Designing Them
by croemer on Sunday January 04, 2026 @07:43PM
(#46494025)
Sure, but writing and maintaining such instructions is also work. And not something one thinks about usually until the debugging session with insufficient errors.
"Wherever exceptions are thrown, add as much contextual information to the exceptions as possible. Use class RichException<Exception> to store the extra information". Etc. etc.