mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
ApplicationNotFound has minimum message
This commit is contained in:
parent
cb58f6a474
commit
c281059a19
1 changed files with 5 additions and 1 deletions
|
|
@ -28,7 +28,11 @@ log = logging.getLogger(__name__)
|
||||||
|
|
||||||
class ApplicationNotFound(Exception):
|
class ApplicationNotFound(Exception):
|
||||||
"""Application was not found in ApplicationManager by name."""
|
"""Application was not found in ApplicationManager by name."""
|
||||||
pass
|
def __init__(self, app_name):
|
||||||
|
self.app_name = app_name
|
||||||
|
super(ApplicationNotFound, self).__init__(
|
||||||
|
"Application \"{}\" was not found.".format(app_name)
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class ApplictionExecutableNotFound(Exception):
|
class ApplictionExecutableNotFound(Exception):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue