Extension to the CUSTOM(Core) .Result
ok t returns x if t = Ok x, or raises e if t = Error e.
ok t
x
t = Ok x
e
t = Error e