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

Merge pull request #2034 from Bronsa/patch-1

Change error message from "internal failure" to "Object allocation failed"
This commit is contained in:
Nikolaj Bjorner 2018-12-11 09:32:32 -08:00 committed by GitHub
commit 021c5315a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -458,7 +458,7 @@ CAMLprim DLL_PUBLIC value n_mk_config() {
z3rv = Z3_mk_config(); z3rv = Z3_mk_config();
if (z3rv == NULL) { if (z3rv == NULL) {
caml_raise_with_string(*caml_named_value("Z3EXCEPTION"), "internal error"); caml_raise_with_string(*caml_named_value("Z3EXCEPTION"), "Object allocation failed");
} }
/* construct simple return value */ /* construct simple return value */