Skip to content

refactor: enhance Failure handling with preceding failure tracking#7

Merged
jmochel merged 1 commit intomasterfrom
feature/failures-within-failure-mapping-functions-result-in-wrapped-failure
Oct 31, 2025
Merged

refactor: enhance Failure handling with preceding failure tracking#7
jmochel merged 1 commit intomasterfrom
feature/failures-within-failure-mapping-functions-result-in-wrapped-failure

Conversation

@jmochel
Copy link
Copy Markdown
Owner

@jmochel jmochel commented Oct 31, 2025

  • Updated Failure class to include precedingFailure in exception handling, allowing for better context in failure scenarios.
  • Introduced GENERIC_CONSUMER_EXCEPTION type in FailureDescription for more specific error categorization.
  • Added tests to validate the new behavior of ifFailure method, ensuring preceding failures are correctly tracked and reported.
  • Enhanced existing tests to cover various exception scenarios and their handling in the context of success and failure.

- Updated Failure class to include precedingFailure in exception handling, allowing for better context in failure scenarios.
- Introduced GENERIC_CONSUMER_EXCEPTION type in FailureDescription for more specific error categorization.
- Added tests to validate the new behavior of ifFailure method, ensuring preceding failures are correctly tracked and reported.
- Enhanced existing tests to cover various exception scenarios and their handling in the context of success and failure.
@jmochel jmochel merged commit aa2d11a into master Oct 31, 2025
1 check passed
@jmochel jmochel deleted the feature/failures-within-failure-mapping-functions-result-in-wrapped-failure branch March 6, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant