[MRG+1] add item_error to be catchable #3256
Merged
Conversation
@chainly can you explain the motivation for this, like a typical use case to justify this new signal? What's more I think a new test case is required. |
Codecov Report
@@ Coverage Diff @@
## master #3256 +/- ##
==========================================
+ Coverage 82.12% 82.15% +0.03%
==========================================
Files 228 228
Lines 9599 9601 +2
Branches 1385 1385
==========================================
+ Hits 7883 7888 +5
+ Misses 1457 1454 -3
Partials 259 259
|
I want to count/know how many |
This feature makes sense to me, and implementation looks good. The only question I have is why is Failure returned, not an exception, like in item_dropped? |
|
@chainly Problem with unit-tests was fixed in master. Can you merge master to this PR? |
OK, fast-forwarded and push again. |
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.
add item_error to be catchable (ie. by
extension
withsignal
).