Result {matchr} | R Documentation |
Result
Description
An Enum that mimics Rust's "Result" type. This is used to denote whether a function contained an error without stopping execution and allowing the error result to be unwrapped.
Usage
Result
Format
list with 2 Enum generators
- Ok(x)
Wrap
x
in the 'Ok' variant.- Err(e)
Wrap
x
in the 'Err' variant.
[Package matchr version 0.1.0 Index]