raft: rename errors