Errors are values in rust too. There are a couple of differences, like the ? syntax, rust returning a value or an error instead of a value and an error (or nil) for example, but everything you wrote applies to rust as well.
?
This is a community dedicated to the go programming language.
Useful Links:
Rules:
Errors are values in rust too. There are a couple of differences, like the
?
syntax, rust returning a value or an error instead of a value and an error (or nil) for example, but everything you wrote applies to rust as well.