Skip to content

Commit

Permalink
Move to RIO env Monad and use prettyInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilgrem committed Sep 3, 2023
1 parent c138fd2 commit 0ed11c7
Show file tree
Hide file tree
Showing 3 changed files with 226 additions and 153 deletions.
13 changes: 12 additions & 1 deletion doc/maintainers/stack_errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,18 @@
In connection with considering Stack's support of the
[Haskell Error Index](https://errors.haskell.org/) initiative, this page seeks
to take stock of the errors that Stack itself can raise, by reference to the
`master` branch of the Stack repository. Last updated: 2023-08-31.
`master` branch of the Stack repository. Last updated: 2023-09-02.

* `GHC.GHC.Utils.GhcPkg.Main.Compat`

~~~haskell
[S-6512] = CannotParse String String String
[S-3384] | CannotOpenDBForModification FilePath IOException
[S-1430] | SingleFileDBUnsupported FilePath
[S-5996] | ParsePackageInfoExceptions String
[S-3189] | CannotFindPackage PackageArg (Maybe FilePath)

~~~

* `Stack.main`: catches exceptions from action `commandLineHandler`.

Expand Down
Loading

0 comments on commit 0ed11c7

Please sign in to comment.