Inspired by @zkat's work on Miette, today at work I made my error messages a little more verbose than I would have otherwise, and the first time I tried to run it, it immediately paid off.

Specifically, I had it spell out where it was looking for a file, which made it obvious that I was generating a PascalCase name when searching for my camelCase files.

Good errors are good!!


This is at work where it's all Node, but I'm excited to check out Miette next time I'm dabbling in Rust again :blobcatboo:

· · Web · 0 · 0 · 0
Sign in to participate in the conversation

cybrespace: the social hub of the information superhighway jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal support us on patreon or liberapay!