exceptions
#
Conda exceptions.
Functions#
|
|
|
|
|
- exception ResolvePackageNotFound(bad_deps)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception LockError(message)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception ArgumentError(message, **kwargs)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- return_code = 2#
- exception Help(message, caused_by=None, **kwargs)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception ActivateHelp#
Bases:
Help
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception DeactivateHelp#
Bases:
Help
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception GenericHelp(command)#
Bases:
Help
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaSignalInterrupt(signum)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception TooManyArgumentsError(expected, received, offending_arguments, optional_message='', *args)#
Bases:
ArgumentError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception ClobberError(message, path_conflict, **kwargs)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- __repr__()#
Return repr(self).
- exception BasicClobberError(source_path, target_path, context)#
Bases:
ClobberError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception KnownPackageClobberError(target_path, colliding_dist_being_linked, colliding_linked_dist, context)#
Bases:
ClobberError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception UnknownPackageClobberError(target_path, colliding_dist_being_linked, context)#
Bases:
ClobberError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
Bases:
ClobberError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CommandNotFoundError(command)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception PathNotFoundError(path)#
Bases:
conda.CondaError
,OSError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception DirectoryNotFoundError(path)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception EnvironmentLocationNotFound(location)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception EnvironmentNameNotFound(environment_name)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception NoBaseEnvironmentError#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception DirectoryNotACondaEnvironmentError(target_directory)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaEnvironmentError(message, *args)#
Bases:
conda.CondaError
,OSError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception DryRunExit#
Bases:
conda.CondaExitZero
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaSystemExit(*args)#
Bases:
conda.CondaExitZero
,SystemExit
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception PaddingError(dist, placeholder, placeholder_length)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception LinkError(message)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaOSError(message, **kwargs)#
Bases:
conda.CondaError
,OSError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception ProxyError#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaIOError(message, *args)#
Bases:
conda.CondaError
,OSError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaFileIOError(filepath, message, *args)#
Bases:
CondaIOError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaKeyError(key, message, *args)#
Bases:
conda.CondaError
,KeyError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception ChannelError(message, caused_by=None, **kwargs)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception ChannelNotAllowed(channel)#
Bases:
ChannelError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- warning = 'Channel not included in allowlist'#
- exception ChannelDenied(channel)#
Bases:
ChannelNotAllowed
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- warning = 'Channel included in denylist'#
Bases:
ChannelError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception OperationNotAllowed(message)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaImportError(message)#
Bases:
conda.CondaError
,ImportError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception ParseError(message)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CouldntParseError(reason)#
Bases:
ParseError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception ChecksumMismatchError(url, target_full_path, checksum_type, expected_checksum, actual_checksum)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception PackageNotInstalledError(prefix, package_name)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaHTTPError(message, url, status_code, reason, elapsed_time, response=None, caused_by=None)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaSSLError(message, caused_by=None, **kwargs)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception AuthenticationError(message, caused_by=None, **kwargs)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception PackagesNotFoundError(packages, channel_urls=())#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception UnsatisfiableError(bad_deps, chains=True, strict=False)#
Bases:
conda.CondaError
An exception to report unsatisfiable dependencies.
- Parameters:
bad_deps -- a list of tuples of objects (likely MatchSpecs).
chains -- (optional) if True, the tuples are interpreted as chains of dependencies, from top level to bottom. If False, the tuples are interpreted as simple lists of conflicting specs.
- Returns:
Raises an exception with a formatted message detailing the unsatisfiable specifications.
Initialize self. See help(type(self)) for accurate signature.
- _format_chain_str(bad_deps)#
- exception RemoveError(message)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception DisallowedPackageError(package_ref, **kwargs)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception SpecsConfigurationConflictError(requested_specs, pinned_specs, prefix)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaIndexError(message)#
Bases:
conda.CondaError
,IndexError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaValueError(message, *args, **kwargs)#
Bases:
conda.CondaError
,ValueError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CyclicalDependencyError(packages_with_cycles, **kwargs)#
Bases:
conda.CondaError
,ValueError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CorruptedEnvironmentError(environment_location, corrupted_file, **kwargs)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaHistoryError(message)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaUpgradeError(message)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaVerificationError(message)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception SafetyError(message)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaMemoryError(caused_by, **kwargs)#
Bases:
conda.CondaError
,MemoryError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception NotWritableError(path, errno, **kwargs)#
Bases:
conda.CondaError
,OSError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception NoWritableEnvsDirError(envs_dirs, **kwargs)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception NoWritablePkgsDirError(pkgs_dirs, **kwargs)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception EnvironmentNotWritableError(environment_location, **kwargs)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaDependencyError(message)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception BinaryPrefixReplacementError(path, placeholder, new_prefix, original_data_length, new_data_length)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception InvalidSpec(message: str, **kwargs)#
Bases:
conda.CondaError
,ValueError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception InvalidVersionSpec(invalid_spec: str, details: str)#
Bases:
InvalidSpec
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception InvalidMatchSpec(invalid_spec: str, details: str)#
Bases:
InvalidSpec
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception EncodingError(caused_by, **kwargs)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception NoSpaceLeftError(caused_by, **kwargs)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception CondaEnvException(message, *args, **kwargs)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception EnvironmentFileNotFound(filename, *args, **kwargs)#
Bases:
CondaEnvException
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception EnvironmentFileExtensionNotValid(filename, *args, **kwargs)#
Bases:
CondaEnvException
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception EnvironmentFileEmpty(filename, *args, **kwargs)#
Bases:
CondaEnvException
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception EnvironmentFileNotDownloaded(username, packagename, *args, **kwargs)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception SpecNotFound(msg, *args, **kwargs)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- exception PluginError(message, caused_by=None, **kwargs)#
Bases:
conda.CondaError
Common base class for all non-exit exceptions.
Initialize self. See help(type(self)) for accurate signature.
- maybe_raise(error, context)#
- print_conda_exception(exc_val, exc_tb=None)#
- _format_exc(exc_val=None, exc_tb=None)#