you are viewing a single comment's thread
view the rest of the comments

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.

  • source
  • parent