3 ms·
montasaurus/result: A simple Rust-like Result type for Python 3
- atoav 1y agoI used this in a project or two and I really like what it does to the code and error handling. Can recommend checking it out.
- niux 1y agoFunnily, I released something similar two weeks ago with more targeted decorators (sync vs async), a more strict `Err` type and a less verbose type guard (`ok`): https://github.com/overflowy/safe-result https://github.com/overflowy/safe-result