Closed jonas-schievink closed 7 years ago
An Ok will push the contained value, while an Err will push nil and an error message.
Ok
Err
nil
Also changes the required trait for the error to Display instead of Debug, which is more suitable for user-facing errors.
Display
Debug
Closes #125
Thanks. R+, will merge when CI passes.
An
Ok
will push the contained value, while anErr
will pushnil
and an error message.Also changes the required trait for the error to
Display
instead ofDebug
, which is more suitable for user-facing errors.Closes #125