Skip to content

Commit

Permalink
#6456 - elaborate on error message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Nov 20, 2022
1 parent 86f3702 commit fcaa85d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/api_datatype.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ extern "C" {
symbol sname = to_symbol(name);

if (mk_c(c)->get_dt_plugin()->is_declared(sname)) {
SET_ERROR_CODE(Z3_INVALID_ARG, nullptr);
SET_ERROR_CODE(Z3_INVALID_ARG, "enumeration sort name is already declared");
RETURN_Z3(nullptr);
}

Expand Down

0 comments on commit fcaa85d

Please sign in to comment.