Result: Result

Description Usage Format

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

1

Format

list with 2 Enum generators

Ok(x)

Wrap x in the 'Ok' variant.

Err(e)

Wrap x in the 'Err' variant.


matchr documentation built on Sept. 9, 2021, 5:07 p.m.

Related to Result in matchr...