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

Change error message from "internal failure" to "Object allocation failed"

For consistency with ad49c3269a and Java/dotNet APIs
This commit is contained in:
Nicola Mometto 2018-12-11 12:09:22 +00:00 committed by GitHub
parent b40c2b2926
commit 06fc94818f
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();
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 */