in src/annoylib.h [135:141]
inline void set_error_from_string(char **error, const char* msg) { annoylib_showUpdate("%s\n", msg); if (error) { *error = (char *)malloc(strlen(msg) + 1); strcpy(*error, msg); } }