mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	#6456 - elaborate on error message
This commit is contained in:
		
							parent
							
								
									86f3702403
								
							
						
					
					
						commit
						fcaa85d7a8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -105,7 +105,7 @@ extern "C" {
 | 
			
		|||
        symbol sname = to_symbol(name);
 | 
			
		||||
 | 
			
		||||
        if (mk_c(c)->get_dt_plugin()->is_declared(sname)) {
 | 
			
		||||
            SET_ERROR_CODE(Z3_INVALID_ARG, nullptr);
 | 
			
		||||
            SET_ERROR_CODE(Z3_INVALID_ARG, "enumeration sort name is already declared");
 | 
			
		||||
            RETURN_Z3(nullptr);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue