def METHOD_NAME(self, ranges_from_snippet: List[Dict]) -> Dict:
    logger = Logger()
    ranges = {}
    for range_dict in ranges_from_snippet:
        try:
            range_type: RangeType = self.validate_range_and_get_type(range_dict)
            start_end_tuple: Tuple[int, int] = SnippetParser.get_start_end_tuple(range_dict, range_type)
            ranges[range_type] = start_end_tuple
        except ValueError as error:
            logger.append(error.args[0])
    if logger.has_messages():
        raise SPDXParsingError([f"Error while parsing snippet ranges: {logger.get_messages()}"])
    return ranges