Lines Matching defs:Error
26 "copytree", "move", "rmtree", "Error", "SpecialFileError",
31 class Error(EnvironmentError):
69 raise Error("`%s` and `%s` are the same file" % (src, dst))
149 If exception(s) occur, an Error is raised with a list of reasons.
193 # catch the Error from the recursive copytree so that we can
195 except Error, err:
208 raise Error, errors
214 is set, it is called to handle the error with arguments (func,
238 except os.error, err:
244 except os.error:
251 except os.error, err:
255 except os.error:
291 raise Error, "Destination path '%s' already exists" % real_dst
297 raise Error, "Cannot move a directory '%s' into itself '%s'." % (src, dst)