[ENGINE-577] Added type to ErrorMessage (to be used by thng-scan for
now)