3 ms·
e.what() Just include the file name in the error message. And all of this is predicated on logging errors, which is not at all user-friendly, and not remotely
by rerdavies 11mo ago
e.what()
Just include the file name in the error message. And all of this is predicated on logging errors, which is not at all user-friendly, and not remotely acceptable in GUI applications.
- binary132 11mo agoI was talking about catching different classes, not about logging. Even if you’re just implementing a string description, there’s nothing stopping you from designing that string for use in a UI element, or implementing a structured message that can specify more details usable for defining UI elements, similarly to how many REST HTTP-driven web UIs work. I don’t think I’m quite following your criticism.