Replace deprecated use of WikiError class

Change-Id: I150dc8fcdcc9161481b9ee36f89e24631d5ee49b