ori.errors module¶
All exceptions for the Ori module.
-
exception
ori.errors.
OriNoInteractiveProcessPools
¶ Bases:
ori.errors.OriError
Raises when the user tries to use process pools in interactive mode.
The
concurrent.futures.ProcessPoolExecutor
does not work when the user is running in an interactive shell. Code must be saved to disk and importable in order to be used.
-
exception
ori.errors.
OriValidationError
¶ Bases:
ori.errors.OriError
Raise when Ori receives bad input from the user.