mirror of
				https://github.com/Telecominfraproject/oopt-gnpy-api.git
				synced 2025-11-04 03:47:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			280 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			280 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# coding: utf-8
 | 
						|
 | 
						|
 | 
						|
class EquipmentError(Exception):
 | 
						|
    """ Exception raise for equipment error
 | 
						|
    Attributes:
 | 
						|
        message -- explanation of the error
 | 
						|
    """
 | 
						|
 | 
						|
    def __init__(self, message):
 | 
						|
        self.message = message
 | 
						|
 | 
						|
    def __str__(self):
 | 
						|
        return self.message
 |