Repository navigation
readProcessWithCmd' should include exception in CradleError - #530
Merged
Merged
Conversation
Saizan
force-pushed
the
del-optional
branch
2 times, most recently
from
October 6, 2026 14:01
c3385cd to
bb4c96b
Compare
Collaborator
|
already a sum type, so why don't we just add a field to ExitFailure ? |
Collaborator
Author
|
ExitFailure is a constructor of ExitCode from I'm happy to change CradleError some other way though, as long as the exception case can't be mistaken for a success by looking at just the ExitCode field |
Saizan
marked this pull request as ready for review
October 7, 2026 06:37
Collaborator
Author
|
The remaining CI failures are about macro expansion errors when installing the prettyprinter package. |
fendor
approved these changes
Oct 7, 2026
fendor
left a comment
Collaborator
There was a problem hiding this comment.
LGTM, I think we should redesign CradleError to make more sense :)
Contributor
|
Queued — the merge queue status continues in this comment ↓. |
Contributor
Merge Queue Status
This pull request spent 18 seconds in the queue, including 1 second running CI. Required conditions to merge
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
It was dropping any IOError with
optional.rather than return ExitSuccess I changed the exit code field to fit an IOError