mirror of
				https://github.com/CumulusNetworks/ifupdown2.git
				synced 2024-05-06 15:54:50 +00:00 
			
		
		
		
	ifupdown2 code was one level deeper because ifupdown2 initially had ifupdown2 and ifupdown2-addons as two separate packages. Since they were combined into one package, it makes sense to move all combined code under the top level directory Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
		
			
				
	
	
		
			24 lines
		
	
	
		
			381 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			381 B
		
	
	
	
		
			Python
		
	
	
	
	
	
#!/usr/bin/python
 | 
						|
#
 | 
						|
# Copyright 2014 Cumulus Networks, Inc. All rights reserved.
 | 
						|
# Author: Roopa Prabhu, roopa@cumulusnetworks.com
 | 
						|
#
 | 
						|
# ifupdown --
 | 
						|
#    exceptions
 | 
						|
#
 | 
						|
 | 
						|
class Error(Exception):
 | 
						|
    """Base class for exceptions in ifupdown"""
 | 
						|
 | 
						|
    pass
 | 
						|
 | 
						|
class ifaceNotFoundError(Error):
 | 
						|
    pass
 | 
						|
 | 
						|
 | 
						|
class invalidValueError(Error):
 | 
						|
    pass
 | 
						|
 | 
						|
class errorReadingStateError(Error):
 | 
						|
    pass
 |