From 7e37702e37fb4a378bacdb433aeb183d292c5230 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Wed, 18 Nov 2020 12:31:09 +0100 Subject: [PATCH] few raises information --- pype/lib/applications.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pype/lib/applications.py b/pype/lib/applications.py index e099dfdc68..5d70b58863 100644 --- a/pype/lib/applications.py +++ b/pype/lib/applications.py @@ -556,6 +556,15 @@ class ApplicationManager: app_name (str): Name of application that should be launched. **data (dict): Any additional data. Data may be used during preparation to store objects usable in multiple places. + + Raises: + ApplicationNotFound: Application was not found by entered + argument `app_name`. + ApplictionExecutableNotFound: Executables in application definition + were not found on this machine. + ApplicationLaunchFailed: Something important for application launch + failed. Exception should contain explanation message, + traceback should not be needed. """ app = self.applications.get(app_name) if not app: