009 add errorcode

Yeah I think so