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

+ Check transfertValuesFrom return in ImpostSingleDocument
+ Add errorCode