add more errors while keep backward compatibility