Description Usage Arguments Value Examples
View source: R/result_option.R
Create an Enum variant of Result
used to denote that function contained an error.
This allows the creation of safer functions that do not automatically stop, without using
try
or tryCatch
.
1 | Err(e)
|
e |
Object to be wrapped in the Enum variant. |
a list with a single value e
and classes "Result} and \code{"Enum
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.