rez.exceptions#

Exceptions.

exception rez.exceptions.RezError#

Bases: Exception

Base-class Rez error.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.RezSystemError#

Bases: RezError

Rez system/internal error.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.RezBindError#

Bases: RezError

A bind-related error.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.RezPluginError#

Bases: RezError

An error related to plugin or plugin load.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.ConfigurationError#

Bases: RezError

A misconfiguration error.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.ResolveError#

Bases: RezError

A resolve-related error.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.PackageFamilyNotFoundError#

Bases: RezError

A package could not be found on disk.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.PackageNotFoundError#

Bases: RezError

A package could not be found on disk.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.ResourceError#

Bases: RezError

Resource-related exception base class.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.ResourceNotFoundError#

Bases: ResourceError

A resource could not be found.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.ResourceContentError#

Bases: ResourceError

A resource contains incorrect data.

type_name = 'resource file'#
__init__(value=None, path=None, resource_key=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.PackageMetadataError#

Bases: ResourceContentError

There is an error in a package’s definition file.

type_name = 'package definition file'#
__init__(value=None, path=None, resource_key=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.PackageCommandError#

Bases: RezError

There is an error in a command or list of commands

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.PackageRequestError#

Bases: RezError

There is an error related to a package request.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.PackageCopyError#

Bases: RezError

There was a problem copying a package.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.PackageMoveError#

Bases: RezError

There was a problem moving a package.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.ContextBundleError#

Bases: RezError

There was a problem bundling a context.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.PackageCacheError#

Bases: RezError

There was an error related to a package cache.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.PackageTestError#

Bases: RezError

There was a problem running a package test.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.ResolvedContextError#

Bases: RezError

An error occurred in a resolved context.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.RexError#

Bases: RezError

There is an error in Rex code.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.RexUndefinedVariableError#

Bases: RexError

There is a reference to an undefined variable.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.RexStopError#

Bases: RexError

Special error raised when a package commands uses the ‘stop’ command.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.BuildError#

Bases: RezError

Base class for any build-related error.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.BuildSystemError#

Bases: BuildError

Base class for buildsys-related errors.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.BuildContextResolveError#

Bases: BuildError

Raised if unable to resolve the required context when creating the environment for a build process.

__init__(context)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.BuildProcessError#

Bases: RezError

Base class for build process-related errors.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.ReleaseError#

Bases: RezError

Any release-related error.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.ReleaseVCSError#

Bases: ReleaseError

Base class for release VCS-related errors.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.ReleaseHookError#

Bases: RezError

Base class for release-hook- related errors.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.ReleaseHookCancellingError#

Bases: RezError

A release hook error that asks to cancel the release as a result.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.SuiteError#

Bases: RezError

Any suite-related error.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.PackageRepositoryError#

Bases: RezError

Base class for package repository- related errors.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.InvalidPackageError#

Bases: RezError

A special case exception used in package ‘preprocess function’.

__init__(value=None)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
with_traceback()#

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

exception rez.exceptions.RezGuiQTImportError#

Bases: ImportError

A special case - see cli/gui.py

__init__(*args, **kwargs)#
__new__(**kwargs)#
add_note()#

Exception.add_note(note) – add a note to the exception

args#
msg#

exception message

name#

module name

path#

module path

with_traceback()#

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

rez.exceptions.convert_errors(from_, to, msg=None)#