Skip to content

Conversation

baweaver
Copy link

Clarifies that sum types raise errors from the rightmost (last attempted) type, not necessarily the most relevant error. Addresses confusion mentioned in issue #439.

  • Add inline documentation to Sum class and call_unsafe method
  • Add Error Handling section to sum types documentation

Clarifies that sum types raise errors from the rightmost (last attempted)
type, not necessarily the most relevant error. Addresses confusion
mentioned in issue dry-rb#439.

- Add inline documentation to Sum class and call_unsafe method
- Add Error Handling section to sum types documentation
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