def METHOD_NAME(self, test, err):
    """Overrides normal addError to add support for
    errorClasses. If the exception is a registered class, the
    error will be added to the list for that class, not errors.
    """
    ec, ev, tb = err
    try:
        exc_info = self._exc_info_to_string(err, test)
    except TypeError:
        # 2.3 compat
        exc_info = self._exc_info_to_string(err)
    for cls, (storage, label, isfail) in list(self.errorClasses.items()):
        #if 'Skip' in cls.__name__ or 'Skip' in ec.__name__:
        #    from nose.tools import set_trace
        #    set_trace()
        if isclass(ec) and issubclass(ec, cls):
            if isfail:
                test.passed = False
            storage.append((test, exc_info))
            self.printLabel(label, err)
            return
    self.errors.append((test, exc_info))
    test.passed = False
    self.printLabel('ERROR')