better error if type has no constructor