Capture the outcome of Python function calls. Extracted from the Trio project.
WWW: https://pypi.org/project/outcome/