':type patterns: set[str]'

def __init__(self, patterns):

    self.patterns = sorted(patterns)
    if (len(patterns) > 1):
        message = ('Target    patterns    not    matched:\n%s' % '\n'.join(self.patterns))
    else:
        message = ('Target    pattern    not    matched:    %s' % self.patterns[0])
    super(TargetPatternsNotMatched, self).__init__(message)
