mirror of
				https://github.com/onyx-and-iris/vban-cmd-python.git
				synced 2025-11-04 07:21:49 +00:00 
			
		
		
		
	remove __str__ override
This commit is contained in:
		
							parent
							
								
									79260a0e47
								
							
						
					
					
						commit
						27a26b8fe9
					
				@ -1,13 +1,6 @@
 | 
			
		||||
class VBANCMDError(Exception):
 | 
			
		||||
    """Base VBANCMD Exception class. Raised when general errors occur"""
 | 
			
		||||
 | 
			
		||||
    def __init__(self, msg):
 | 
			
		||||
        self.message = msg
 | 
			
		||||
        super().__init__(self.message)
 | 
			
		||||
 | 
			
		||||
    def __str__(self):
 | 
			
		||||
        return f"{type(self).__name__}: {self.message}"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class VBANCMDConnectionError(VBANCMDError):
 | 
			
		||||
    """Exception raised when connection/timeout errors occur"""
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user