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

Maybe Implement Railway Oriented Programming for error handling #2

Open
NullVoxPopuli opened this issue Mar 30, 2018 · 0 comments
Open

Comments

@NullVoxPopuli
Copy link
Owner

NullVoxPopuli commented Mar 30, 2018

Using: http://fsprojects.github.io/Chessie/railway.html

https://www.slideshare.net/ScottWlaschin/railway-oriented-programming

This will allow only the highest level of coding to handle errors properly. (so errors aren't handled everywhere)
Most of this work will be dealing with discriminated unions: Success / Error, and bypasses

Outstanding Question:

  • Should it be up to the package consumer to use railways / Result<Success, Failure> objects?
@NullVoxPopuli NullVoxPopuli changed the title Implement Railway Oriented Programming for error handling Maybe Implement Railway Oriented Programming for error handling Mar 30, 2018
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

No branches or pull requests

1 participant