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:
parent
ab1be5c06e
commit
b7b611d84b
3 changed files with 42 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue