diff --git a/src/core/exceptions.py b/src/core/exceptions.py index 20f1abb9..16e97fab 100644 --- a/src/core/exceptions.py +++ b/src/core/exceptions.py @@ -27,15 +27,11 @@ class ProfileNotInCacheError(Exception): class ProfileNotSetError(Exception): - """ - This error raises when no profile has been set (value @NONE@ is found, but it should have been replaced) - """ - pass + """This error raises when no profile has been set (value @NONE@ is found, but it should have been replaced)""" class ProfileConnected(Exception): """This error is raised when trying to delete a connected profile.""" - pass class ProfileNotConnected(Exception): @@ -46,6 +42,10 @@ class ProfileKeyUnknown(Exception): pass +class ClientTypeError(Exception): + """This code is not allowed for this type of client (i.e. component or not)""" + + class UnknownEntityError(Exception): pass