tylerjw / fp

Functional Programming extensions to C++ for ROS projects.
https://www.fplib.dev
BSD 3-Clause "New" or "Revised" License
4 stars 5 forks source link

try_to_result #9

Closed tylerjw closed 2 years ago

tylerjw commented 2 years ago

Need

In order to call a function that might throw an exception As a user I want to have a way to capture the result of that function into a Result

Acceptance Criteria

Scenario: GIVEN a function that throws an exception or returns a result WHEN I call that function using a higher-order function THEN I get a Result that captures the exception into an Error type

Tasks

Notes

No response