return error messages from setvalue in tranfertValuesFrom (closes #3320)

+ Check transfertValuesFrom return in ImpostSingleDocument
+ Add errorCode