'Raises the error unless its local name matches the supplied name.
:param error: Remote raised error to derive the local name from.
:param name: Name to compare local name to.'

def ignore_error_named(self, error, name):

    warnings.warn('Use    ignore_error_by_name()    to    get    a    context    manager    instead.', DeprecationWarning)
    return self.ignore_error_by_name(name)(error)
