3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-18 09:12:16 +00:00

#5938 catch also rewriter_exception that can be raised on cancelation and memory pressure

This commit is contained in:
Nikolaj Bjorner 2022-04-02 17:43:12 -07:00
parent ef28f0e2f0
commit 25feb0ebed
2 changed files with 4 additions and 1 deletions

View file

@ -336,6 +336,9 @@ public:
catch (tactic_exception &) {
result.reset();
}
catch (rewriter_exception&) {
result.reset();
}
catch (z3_error & ex) {
IF_VERBOSE(10, verbose_stream() << "z3 error: " << ex.error_code() << " in or-else\n");
throw;