|
|
|
|
|
by guitarbill
951 days ago
|
|
> Rust returns returns errors using a "wrapper" type called Result. A Result contains both a non-error value (Ok) and an error value (Err) A `Result` can contain either a non-error value (Result::Ok) or and error value (Result::Err), never both. |
|