/usr/share/pyshared/tox/_exception.py is in python-tox 1.6.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | class Error(Exception):
def __str__(self):
return "%s: %s" %(self.__class__.__name__, self.args[0])
class UnsupportedInterpreter(Error):
"signals an unsupported Interpreter"
class InterpreterNotFound(Error):
"signals that an interpreter could not be found"
class InvocationError(Error):
""" an error while invoking a script. """
class MissingFile(Error):
""" an error while invoking a script. """
class MissingDirectory(Error):
""" a directory did not exist. """
class MissingDependency(Error):
""" a dependency could not be found or determined. """
|