mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	Change error message from "internal failure" to "Object allocation failed"
For consistency with ad49c3269a and Java/dotNet APIs
			
			
This commit is contained in:
		
							parent
							
								
									b40c2b2926
								
							
						
					
					
						commit
						06fc94818f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -458,7 +458,7 @@ CAMLprim DLL_PUBLIC value n_mk_config() {
 | 
			
		|||
  z3rv = Z3_mk_config();
 | 
			
		||||
 | 
			
		||||
  if (z3rv == NULL) {
 | 
			
		||||
    caml_raise_with_string(*caml_named_value("Z3EXCEPTION"), "internal error");
 | 
			
		||||
    caml_raise_with_string(*caml_named_value("Z3EXCEPTION"), "Object allocation failed");
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /* construct simple return value */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue