tc: get the last_error to check the error

No match.