def szcodes():
    """
    Return dictionary of 7-Zip error codes.
    """
    szc = {(0): 'NO ERRORS', (1): 'COMPLETED WITH WARNINGS', (2):
        'FATAL ERROR', (7): 'COMMAND LINE ERROR', (8):
        'OUT OF MEMORY ERROR', (255): 'USER STOPPED PROCESS'}
    return szc
