result
From MaRDI portal
Software:5979779
Result Type for Safely Handling Operations that can Succeed or Fail
Last update: 21 November 2023
Copyright license: MIT license, File License
Software version identifier: 0.1.0
Allows wrapping values in success() and failure() types to capture the result of operations, along with any status codes. Risky expressions can be wrapped in as_result() and functions wrapped in result() to catch errors and assign the relevant result types. Monadic functions can be bound together as pipelines or transaction scripts using then_try(), to gracefully handle errors at any step.
This page was built for software: result