17b150a Refactor minor details in startX

Authored and Committed by vladimirslavik 3 years ago
    Refactor minor details in startX
    
    - Raise a more semantically correct exception
    - Clarify comments
    - Replace list with a class instance
    
    Related: rhbz#1918702
    Related: rhbz#1955306
    
    (cherry picked from commit 0b851a3f25d6e2ac7e6d06e342d0823c206ee25a)
    
        
file modified
+18 -9