set-error
A very simple trait that overwrites errors with Strings
for Result
s and Option
s.
When used with the ?
operator it makes a nice pattern.
.set_error?
.read_to_string
.set_error?;
open
A very simple trait that overwrites errors with Strings
for Result
s and Option
s.
When used with the ?
operator it makes a nice pattern.
.set_error?
.read_to_string
.set_error?;
open