-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve error formatting for CLI applications #1
Comments
Here's a nice post of Flow's new error formatting: https://medium.com/flow-type/better-flow-error-messages-for-the-javascript-ecosystem-73b6da948ae2 |
For LSP there are some things to keep in mind.
|
Oh cool. Seems like they are hashing things out with the LSP folks on microsoft/language-server-protocol#166 as well. 🤔 |
At the moment I'm thinking we'd want to have common |
Some nice output from Hedgehog hedgehogqa/fsharp-hedgehog#80 (comment) |
Currently I'm not doing much about this. Here are some options
I'd also like to be able to support domain-specific errors, such as those produced by LALRPOP - at least providing an escape hatch to allow them to be easily created!
Inspiration:
Here are some examples of what the output might look like:
Reason
Source code
LALRPOP
Source code
Elm
Source code
Rust
Source code
The text was updated successfully, but these errors were encountered: