add RC exception

TS can catch RC error