improved error message in ExtendedMessage for unknown data types