how do Elm and Rust make their pretty error messages?
is there some libraries at work or is it all custom??
Conversation
Rust's is built in to the compiler, but there are libraries like ariadne, miette, annotate-snippets, codespan-reporting and codemap that can help do the rendering for you.
1
18
As much as I love those projects, the really arduous part is not the rendering.
2
21
Yeah, absolutely agree! Rendering really is the easy part (and it's not that easy) 😵💫


