public extern static void Z3_set_error_handler(Z3_context a0, Z3_error_handler a1);
public static void Z3_set_error_handler(Z3_context a0, Z3_error_handler a1) { LIB.Z3_set_error_handler(a0, a1); Z3_error_code err = (Z3_error_code)LIB.Z3_get_error_code(a0); if (err != Z3_error_code.Z3_OK) throw new Z3Exception(Marshal.PtrToStringAnsi(LIB.Z3_get_error_msg_ex(a0, (uint)err))); }