Improve Error message for attempting to load an unknown module #9171
Labels
cabal-install: cmd/build
re: error-message
Concerning error messages delivered to the user
type: enhancement
Describe the bug
cabal repl
andcabal build
for unknown module displays confusing error message.To Reproduce
Expected behavior
The error message should convey to the user clearly what is going wrong and why.
Ideally, include information on how to solve the issue. (E.g. "add to exposed-module of some specific component.")
System information
cabal
: cabal-install version 3.10.1.0Additional context
Related to haskell/haskell-language-server#3695 and haskell/haskell-language-server#3595
Tooling has to make sense of this error message to provide any sensible code actions.
The text was updated successfully, but these errors were encountered: