##// END OF EJS Templates
clarify UnmetDependencyError turning into a CompositeError.
timo -
Show More
@@ -677,10 +677,8 b' You can also specify imports via the ``@require`` decorator. This is a decorato'
677 677 designed for use in Dependencies, but can be used to handle remote imports as well.
678 678 Modules or module names passed to ``@require`` will be imported before the decorated
679 679 function is called. If they cannot be imported, the decorated function will never
680 execute and will fail with an UnmetDependencyError.
681
682 ..
683 what about single engines failing to import? will none of them execute the function?
680 execute and will fail with an UnmetDependencyError. Failures of single Engines will
681 be collected and raise a CompositeError, as demonstrated in the next section.
684 682
685 683 .. sourcecode:: ipython
686 684
General Comments 0
You need to be logged in to leave comments. Login now