wiz.exception

exception wiz.exception.WizError(message)[source]

Base class for Wiz specific errors.

__init__(message)[source]

Initialize with message.

Parameters:message – Message describing the issue.
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception wiz.exception.CurrentSystemError(message)[source]

Raise when the system is incorrect.

__init__(message)[source]

Initialize with message.

Parameters:message – Message describing the issue.
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception wiz.exception.UnsupportedPlatform(platform)[source]

Raise when the current platform is not supported.

__init__(platform)[source]

Initialize with platform.

Parameters:platform – Lowercase name of the current platform as returned by platform.system().
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception wiz.exception.RequestNotFound(message)[source]

Raise when a request cannot be processed.

__init__(message)[source]

Initialize with message.

Parameters:message – Message describing the issue.
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception wiz.exception.DefinitionError(message)[source]

Raise when a definition is incorrect.

__init__(message)[source]

Initialize with message.

Parameters:message – Message describing the issue.
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception wiz.exception.PackageError(message)[source]

Raise when a package is incorrect.

__init__(message)[source]

Initialize with message.

Parameters:message – Message describing the issue.
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception wiz.exception.RequirementError(message)[source]

Raise when a requirement is incorrect.

__init__(message)[source]

Initialize with message.

Parameters:message – Message describing the issue.
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception wiz.exception.VersionError(message)[source]

Raise when a version is incorrect.

__init__(message)[source]

Initialize with message.

Parameters:message – Message describing the issue.
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception wiz.exception.GraphResolutionError(message)[source]

Raise when the graph is incorrect.

__init__(message)[source]

Initialize with message.

Parameters:message – Message describing the issue.
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception wiz.exception.GraphConflictsError(conflicting)[source]

Raise when unsolvable conflicts are found in the graph.

__init__(conflicting)[source]

Initialize with a list of conflict mappings.

Parameters:conflicting

Mapping of conflicting node identifiers per requirement. It should be in the form of:

{
    Requirement("foo >=0.1.0, <1"): {"bar", "bim"},
    Requirement("foo >2"): {"baz},
    ...
}
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception wiz.exception.GraphInvalidNodesError(error_mapping)[source]

Raise when invalid nodes are found in the graph.

__init__(error_mapping)[source]

Initialize with a list of conflict mappings.

Parameters:error_mapping – Mapping containing list of error messages per node identifier.
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception wiz.exception.GraphVariantsError[source]

Raise when division of the graph into new combinations in required.

__init__()[source]

Initialize Error.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception wiz.exception.FileExists(path)[source]

Raise when a file already exists.

__init__(path)[source]

Initialize with message.

Parameters:path – File path.
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception wiz.exception.DefinitionsExist(definitions)[source]

Raise when definitions already exists in a registry.

__init__(definitions)[source]

Initialize with list of existing definitions.

Parameters:definitions – List of definition labels (e.g. “‘foo’ [0.1.0]”).
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception wiz.exception.InstallError(message)[source]

Raise when the installation of a definition failed.

__init__(message)[source]

Initialize with message.

Parameters:message – Message describing the issue.
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception wiz.exception.InstallNoChanges[source]

Raise when no content was detected in a release request.

__init__()[source]

Initialize Error.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.