handle_file_size_error¶
Summary¶
- handle_file_size_error(mirror_file_size_dict: dict)¶
If a file size error has occurred, which is when the files downloaded from the Music Download mirrors do not match in size, this function handles the processing needed to return a proper error message.
- Parameters:
mirror_file_size_dict (dict) – A dict containing information relating to the two music files that were downloaded.
- Returns:
A fully-formatted error message.
- Return type:
str
Importing¶
from cs_board_tools.validation.music import handle_file_size_error