mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 19:52:29 +00:00 
			
		
		
		
	ex handler
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									125eae06bd
								
							
						
					
					
						commit
						eb8c8da8a7
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -304,7 +304,7 @@ void error_example() { | ||||||
|         // The next call fails because x is a Boolean.
 |         // The next call fails because x is a Boolean.
 | ||||||
|         expr n = x + 1; |         expr n = x + 1; | ||||||
|     } |     } | ||||||
|     catch (exception ex) { |     catch (exception & ex) { | ||||||
|         std::cout << "failed: " << ex << "\n"; |         std::cout << "failed: " << ex << "\n"; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | @ -312,7 +312,7 @@ void error_example() { | ||||||
|     try { |     try { | ||||||
|         expr arg = to_expr(c, Z3_get_app_arg(c, x, 0)); |         expr arg = to_expr(c, Z3_get_app_arg(c, x, 0)); | ||||||
|     } |     } | ||||||
|     catch (exception ex) { |     catch (exception & ex) { | ||||||
|         std::cout << "failed: " << ex << "\n"; |         std::cout << "failed: " << ex << "\n"; | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue