Add errorcode, refer to https://github.com/coreos/etcd/blob/master/Documentation/errorcode.md