Result
Represents either a success (ok) or a failure (error) result.
Overview
API
Result::ok(2);Result::error(3);assert(true === Result::ok(2)->isOk());
assert(false === Result::error(2)->isOk());Accessing the contained value and error
Last updated