Skip to content

Unwrap singular CompositeException#21

Draft
msagarpatel wants to merge 3 commits intomasterfrom
sp-unwrap-singular-composite
Draft

Unwrap singular CompositeException#21
msagarpatel wants to merge 3 commits intomasterfrom
sp-unwrap-singular-composite

Conversation

@msagarpatel
Copy link
Copy Markdown
Collaborator

A CompositeException containing exactly one exception is now considered a wrapped exception, and unwrap_exception returns that single contained exception. When it contains multiple exceptions, the behavior is unchanged (returns itself).

msagarpatel and others added 3 commits February 26, 2026 19:08
GitHub deprecated and hard-failed actions/cache v1/v2.

Co-authored-by: Claude <[email protected]>
A `CompositeException` containing exactly one exception is now
considered a wrapped exception, and `unwrap_exception` returns
that single contained exception. When it contains multiple
exceptions, the behavior is unchanged (returns itself).

Co-authored-by: Claude <[email protected]>
only() was introduced in Julia 1.4, but CI tests Julia 1.3.

Co-authored-by: Claude <[email protected]>
@msagarpatel msagarpatel force-pushed the sp-unwrap-singular-composite branch from 183976e to c1e324e Compare February 27, 2026 00:15
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