Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework Result's Error property #31

Merged
merged 1 commit into from
Mar 21, 2022
Merged

Rework Result's Error property #31

merged 1 commit into from
Mar 21, 2022

Conversation

ccremer
Copy link
Owner

@ccremer ccremer commented Feb 27, 2022

Summary

This PR makes the Result.Err a function instead of exported property. This change clearly makes it visible that the Result is not meant to be modified after running a pipeline.
Numerous new constructors should make it possible to safely create the Result in steps.

Checklist

  • Categorize the PR by setting a good title and adding one of the labels:
    fix, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog
  • Update documentation.
  • Update tests.
  • Link this PR to related issues.

@ccremer ccremer merged commit 2b1d53b into master Mar 21, 2022
@ccremer ccremer deleted the resulterr branch March 21, 2022 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant