mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
add missing error check
This commit is contained in:
parent
514eaf33aa
commit
daa24ef4ce
|
@ -1015,6 +1015,7 @@ export function createApi(Z3: Z3Core): Z3HighLevel {
|
|||
|
||||
fromString(s : string) {
|
||||
Z3.solver_from_string(contextPtr, this.ptr, s);
|
||||
throwIfError();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue