mirror of https://github.com/CIRCL/AIL-framework
				
				
				
			
		
			
				
	
	
		
			22 lines
		
	
	
		
			398 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
			
		
		
	
	
			22 lines
		
	
	
		
			398 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
| #!/usr/bin/env python3
 | |
| # -*-coding:UTF-8 -*
 | |
| 
 | |
| from pymisp import PyMISPError
 | |
| 
 | |
| class AILError(Exception):
 | |
|     def __init__(self, message):
 | |
|         super(AILError, self).__init__(message)
 | |
|         self.message = message
 | |
| 
 | |
| class UpdateInvestigationError(AILError):
 | |
|     pass
 | |
| 
 | |
| class NewTagError(AILError):
 | |
|     pass
 | |
| 
 | |
| class ModuleQueueError(AILError):
 | |
|     pass
 | |
| 
 | |
| class MISPConnectionError(AILError):
 | |
|     pass
 |