3
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.

this post was submitted on 16 Jul 2023
3 points (61.5% liked)

Golang

0 readers
1 users here now

This is a community dedicated to the go programming language.

Useful Links:

Rules:

founded 1 year ago
MODERATORS