TS_R_BAD_TYPE
ERR_raise(ERR_LIB_TS, TS_R_BAD_TYPE);
{ ERR_PACK(ERR_LIB_TS, 0, TS_R_BAD_TYPE), "bad type" },