Olaoluwa Osuntokun 166b2fdb97 fn: add UnwrapOrErr and UnwrapOrFail to Option
In this commit, we add two new methods that simplify usage of an
handling a value wrapped in an Option. Thes methods allow a caller to
force the nil/None check up front, and either obtain the value, or fail
the current execution or test.

This should replace most usages of `UnsafeFromSome` where ever used
today.
2024-02-24 17:21:37 -08:00
..
2024-01-23 19:09:36 -08:00
2024-01-23 19:09:42 -08:00
2024-01-23 19:09:53 -08:00
2024-01-23 19:09:53 -08:00
2024-01-23 19:09:45 -08:00
2024-01-23 19:09:50 -08:00
2024-01-23 19:09:53 -08:00