Make sure error code and string are in sync