A type representing the outcome of an operation, either a success
(Ok) or a checked failure (Err).
Inspired by Rust’s
Result, this
type provides a type-safe way to handle computations that may succeed with
a value of type T or fail with a checked error of type E, distinguishing
expected and unexpected failures via CheckedError.
A type representing the outcome of an operation, either a success (Ok) or a checked failure (Err).
Inspired by Rust’s Result, this type provides a type-safe way to handle computations that may succeed with a value of type
T
or fail with a checked error of typeE
, distinguishing expected and unexpected failures via CheckedError.