errors¶
Module for all our custom exceptions
- exception jukeboxcore.errors.JukeboxException[source]¶
Bases: exceptions.Exception
Base Exceptions for all our jukebox related Exceptions!
Subclass this for your own exceptions. Do not recreate the builtin exceptions! We still use them. But whenever you want to raise a custom exception, use this as baseclass.
- exception jukeboxcore.errors.PluginInitError[source]¶
Bases: jukeboxcore.errors.JukeboxException
Jukebox Exception that is raised when a Plugin fails initializing.
- exception jukeboxcore.errors.PluginUninitError[source]¶
Bases: jukeboxcore.errors.JukeboxException
Jukebox Exception that is raised when a Plugin fails uninitializing.
- exception jukeboxcore.errors.UnsupportedPlatformError[source]¶
Bases: jukeboxcore.errors.JukeboxException
Jukebox Exception that is raised when the platform you are on does not support some actions.
- exception jukeboxcore.errors.SoftwareNotFoundError[source]¶
Bases: jukeboxcore.errors.JukeboxException
Jukebox Exception that is raised when the pipeline cannot find a required software.
- exception jukeboxcore.errors.ConfigError[source]¶
Bases: jukeboxcore.errors.JukeboxException
Jukebox Exception that is raised when some error occurs concerning Config files.
- exception jukeboxcore.errors.MenuExistsError[source]¶
Bases: jukeboxcore.errors.JukeboxException
Jukebox Exception that is raised when a MenuManger tries to create a menu that already exists.
- exception jukeboxcore.errors.IntegrityError[source]¶
Bases: jukeboxcore.errors.JukeboxException
Jukebox Exception that is raised when the pipeline cannot execute an action because it would affect the integrity of the pipeline.
- exception jukeboxcore.errors.ReftrackIntegrityError(msg=None, reftracks=None)[source]¶
Bases: jukeboxcore.errors.IntegrityError
Jukebox Integrity Exception that is raised when an action concerning the reference workflow cannot be executed because it would affect the integrity of the reference workflow.
You can access a list of jukeboxcore.reftrack.Reftrack that would cause the error with ReftrackIntegrityError.reftracks.
Initialize a new exception with a error message and the reftracks that would cause an integrity error.
Parameters: - msg (str | None) – the error message
- reftracks (list of jukeboxcore.reftrack.Reftrack | None) – the reftracks that would cause an integrity error
Raises: None