Move all output to a sum type
All errors, warnings, and messages are now listed in a sum type in 'CAStore.Type.Text'. The added structure should help with writing better error messages. Also, if and when we get to localising ca-store, implementation will be trivial.
This commit is contained in:
parent
1971897eb8
commit
68bba7c653
10 changed files with 74 additions and 21 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -12,6 +12,8 @@
|
|||
!src/CAStore/Config/CLI.hs
|
||||
!src/CAStore/Program.hs
|
||||
!src/CAStore/Program/Internal.hs
|
||||
!src/CAStore/Program/IO/Text.hs
|
||||
!src/CAStore/Program/Storage.hs
|
||||
!src/CAStore/Type.hs
|
||||
!src/CAStore/Type/Text.hs
|
||||
!src/Data/List/Extra.hs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue