Internet Computer Developer Forum
When should I throw errors versus return Option<T>?
Developers
nomeata
September 17, 2021, 8:34am
2
I tried to
summarize my understanding
in another thread.
1 Like
show post in topic
Related Topics
Topic
Replies
Views
Activity
Throw Error.reject equivalent
Rust
7
388
October 22, 2022
How to indicate failed operations?
Motoko
3
322
May 19, 2023
Why is Option.unwrap unsafe (and will be deprecated)?
Language Support
Motoko
9
887
January 3, 2022
Incorrect optional typescript declaration generation?
Developers
8
1166
November 28, 2021
Solution in moc 0.8.3: let else - "match" and "take" in motoko - do? for variants (was "when")
Language Support
25
1438
March 7, 2023