register ErrorEntry to gob