Result
Overview
The Result object represents either a success or a failure, holding a value for only one state at a time. The
typical usage of a Result is for safely returning and propagating runtime errors.
Fields
.unwrap_okay
fn (message?: String) -> TAttempts getting an encapsulated value. If no value exists, the program will panic.
.unwrap_error
fn (message?: String) -> EAttempts getting an encapsulated error. If no error exists, the program will panic.