Commit Graph

3 Commits

Author SHA1 Message Date
2e59942555 update error handling example
- replaced `match`s with `?`s where possible
- it should not be considered an improvement tho
- turns out `?` is best used when you are returning `Result<T,E>`s
- we were returning `String`s
- so we had to wrap all successful string returns in `Ok()`s
- which is just clunky
- good learning but its time to move on!
2026-01-17 16:48:48 +00:00
b48bb409d5 error handling example
- finally get an error handling example running the way it should
- we've used the ugly method (a lot of matches and so on)
- and our code is not beautiful per se
- but it works
- next we improve this with `?`s
2026-01-17 15:02:59 +00:00
6b0ff37562 start error handling 2026-01-17 09:01:51 +00:00