Y
Hacker News
new
|
ask
|
show
|
jobs
by
sli
1893 days ago
The actions the code takes on error is up to you. What isn't up to you is whether or not you handle the error. Network calls give you a Result, and you have to deal with both the Ok and the Err branch or the code won't compile.