M
Modular11mo ago
gryznar

Handle errors like in Rust

I am aware, that Mojo internally is passing result as tuple containing OK variant and error variant. Due to lack of enums / pattern matching etc. this is not exposed to the user and try except is required. If the needed components will be added, is Mojo going to have monad error handling (like in Rust) or always there will be a need to use try except block?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server