errtype           399 core/ptp.c     int ptp_script_write_error_msg(unsigned errtype, const char *err) {
errtype           403 core/ptp.c       ptp_script_msg *msg = ptp_script_create_msg(PTP_CHDK_S_MSGTYPE_ERR,errtype,strlen(err),err);
errtype            58 core/ptp_chdk.h int ptp_script_write_error_msg(unsigned errtype, const char *err);