Lines Matching refs:errors

196         """Base exception class for plan preparation errors."""
204 def __init__(self, errors):
205 """'errors' should be a list of exceptions or strings
206 indicating what packages had errors and why."""
209 self.errors = errors
214 "{0}").format("\n".join(str(e) for e in self.errors))
218 """Used to indicate that license-related errors occurred during
233 to license-related errors for a package."""
235 def __init__(self, errors):
236 """'errors' should be a list of LicenseAcceptanceError
240 self.__errors = errors
243 def errors(self):
250 to license-related errors."""
253 """'errors' should be a list of PkgLicenseErrors exceptions."""
258 for e in pp_err.errors:
262 def errors(self):
269 """Returns a string representation of the license errors."""
674 res += [_("Solver dependency errors:")]
758 def __init__(self, errors):
759 self.__errors = errors
918 """This function is used to append errors in the error
961 def __init__(self, errors):
963 self.__errors = errors
1592 """Base exception class used for all data related errors."""
2613 def __init__(self, errors):
2615 self.errors = []
2617 assert (isinstance(errors, (list, tuple,
2620 if isinstance(errors, ExpiredCertificate):
2621 self.errors.append(errors)
2623 self.errors = errors
2627 for e in self.errors:
2818 files are encountered and the errors have been condensed into a
3249 # concatenate multiple errors
3410 def __init__(self, errors):
3412 self.errors = []
3414 assert (isinstance(errors, list) or isinstance(errors, tuple) or
3415 isinstance(errors, set) or
3416 isinstance(errors, InvalidOptionError))
3418 if isinstance(errors, InvalidOptionError):
3419 self.errors.append(errors)
3421 self.errors = errors
3425 for e in self.errors: