Funnily, 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
I 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.
Funnily, 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