Skip to content

Maybe Implement Railway Oriented Programming for error handling #2

Description

@NullVoxPopuli

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions