3 ms·
> As for useful error messages, or lacktherof, I’d like to introduce you to programming, we’ve been waiting for you ;) but for real, useful error messages are t
by phatskat 3y ago
> As for useful error messages, or lacktherof, I’d like to introduce you to programming, we’ve been waiting for you ;) but for real, useful error messages are the rare exception, and many apis are this way.
This has been my experience with vitest lately - not sure if it’s the project, the build, or who knows what, but when a unit test fails I get an error that would be enough to work on with the given offending line of code displayed, except it is never any relevant LoC It sometimes highlights a line in a different test function all together, but usually just N lines down or up from where it should be.
As for other useful error messages… “what the fuck does PC load letter even mean??”