@wilfredh
GNOME:
"Oh no! Something went wrong."
@gnome
Janneke@janneke@todon.nl
@wilfredh AI can lighten the load
FlowChainSensei@flowchainsenseisocial@mastodon.social
@wilfredh Random idea: worth to link to a webpage with a list of possible cases?
And the webpage is deep linkable with OS, failure case, etc.
ms@ms@tux.social
@wilfredh The easiest time I've had writing great error messages even in rapidly developed prototypes is when I'm using the anyhow crate in Rust. You can add "context" to any fallible action, so (almost without trying) you get error messages that say what went wrong (e.g., no such file or directory) and also when (e.g., trying to open user preferences file while starting the foo engine).
Ed Cashin@edtyping@infosec.exchange
@wilfredh ... maybe an interrupt came in during the read...
Jon A. Cruz@joncruz@mstdn.social
@flowchainsenseisocial @wilfredh ooh, yeah! Like it just did with our tariff calculation.
Jon A. Cruz@joncruz@mstdn.social
Or it's a block device and you get an IO error! Or it's on fuse and you get something even weirder! Or it's a network device and it times out!