Added errors enum.