mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 07:42:54 +00:00 
			
		
		
		
	Clarify exception message in EHFactoryBase
This commit is contained in:
		@@ -26,7 +26,7 @@ class EventHandlerBuilder:
 | 
				
			|||||||
    def _determine_type(self, provided_type):
 | 
					    def _determine_type(self, provided_type):
 | 
				
			||||||
        type_ = provided_type or self._analyzer.event_handler_type or EventHandler
 | 
					        type_ = provided_type or self._analyzer.event_handler_type or EventHandler
 | 
				
			||||||
        if not issubclass(type_, EventHandler):
 | 
					        if not issubclass(type_, EventHandler):
 | 
				
			||||||
            raise ValueError("No type supplied!")
 | 
					            raise ValueError("Invalid type supplied!")
 | 
				
			||||||
        return type_
 | 
					        return type_
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def build(self, connector):
 | 
					    def build(self, connector):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user