parse and produce etcd exceptions