@classmethod
def range(cls):
    """
        Returns for how many codes this Exception, matches with the eventual
        goal of matching an error to the most specific error class
        """
    range = 0
    codes_list = cls.codes_list()
    for c in codes_list:
        if isinstance(c, tuple):
            start, stop = c
            range += stop - start + 1
        else:
            range += 1
    if not range:
        range = 1000
    return range
