Interface Nexus\Result\Result

<T, E>

A PHP implementation of Rust's Result enum. Result<T, E> is the type used for returning and propagating errors. It is an enum with the variants, Ok(T), representing success and containing a value, and Err(E), representing error and containing an error value.

Methods