This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Better error messages #81
Closed
mgajda
wants to merge
140
commits into
haskell-servant:master
from
mgajda:michal/better-error-messages
Closed
Better error messages #81
mgajda
wants to merge
140
commits into
haskell-servant:master
from
mgajda:michal/better-error-messages
+11
−8
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This may be a step back, and the instances aren't as nice.
* notAllowedContainsAllowHeader * getsHaveCacheControlHeader * headsHaveCacheControlHeader
Which still isn't beautiful.
And finish honoursAcceptHeader.
And test import cleanup.
Support GHC-8.6
Allow servant-0.16
Support servant-0.16 and http-media-0.8
Updates: 2019-09
There are no changes since the tag in the src/
Support servant-0.17
…nts-for-GHC-8.10 Relax constraints for GHC 8.10
Support servant-0.15
Co-authored-by: fisx <[email protected]>
…t-servant-0.18 Support servant-server-0.18
mgajda
force-pushed
the
michal/better-error-messages
branch
2 times, most recently
from
July 4, 2021 21:54
acd1085
to
fd8174a
Compare
Avoids printing `Nothing` for many `serverSatisfiesMgr`. If the predicate failure is reported as `Just Nothing`, it shows full exception.
mgajda
force-pushed
the
michal/better-error-messages
branch
from
July 4, 2021 21:55
fd8174a
to
ede14d6
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Some predicates report
Nothing
as a cause of failed test.To improve them I added another case alternative if exception happens, and
join
to unwrapMaybe (Maybe ...)
.Fixed #69.