Update Manager API: Exceptions module

Exceptions module

Exceptions

exception UpdateManager.Exceptions.ExitProgramException(status, msg='Program exited')
Program is about to exit
exception UpdateManager.Exceptions.InvalidBaseClass(instance, base_class)
Invalid base class exception
exception UpdateManager.Exceptions.InvalidLoglevelName(name)
Invalid loglevel name exception
exception UpdateManager.Exceptions.LoadingFailedException(module_name)
Loading of a module failed

Constants

UpdateManager.Exceptions.EXIT_STATUS_CODES

Enum:

NO_ERROR = 0
No error occured
INVALID_BASE_CLASS = 1
An invalid base class was specified
LOADING_FAILED = 2
Loading of a module failed

Table Of Contents

Previous topic

Update Manager API: DistSpecific.loader module

Next topic

Update Manager API: Frontend module

This Page