kiwipy.futures module¶
- kiwipy.futures.capture_exceptions(future, ignore=())[source]¶
Capture any exceptions in the context and set them as the result of the given future
- Parameters
future (
kiwipy.Future
) – The future to the exception onignore – An optional list of exception types to ignore, these will be raised and not set on the future