|
|
|
|
|
by oDot
953 days ago
|
|
In FileMonger[0], which uses Tauri, I have implemented a `Result` logic for errors in TS, similar to what's available in Rust. It's clunkier, but still much preferable to the mess of throwing. Much easier to handle errors and debug. [0] https://filemonger.app/ |
|
While I like Rust — and Result works really well with `?` — it doesn't actually look like that's the best pattern for Python?