append TT_ to error codes

Signed-off-by: Yibo Cai <cyb70289@gmail.com>