3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

inherit from std::exception

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-11-27 08:18:37 -08:00
parent ab1be5c06e
commit b7b611d84b
3 changed files with 42 additions and 16 deletions

View file

@ -63,7 +63,9 @@ namespace smt {
class model_generator;
class context;
struct cancel_exception {};
struct cancel_exception : public std::exception {
char const * what() const noexcept override { return "smt-canceled"; }
};
struct enode_pp {
context const& ctx;