adding error message to generatedocs
Merge pull request #643 from Tendrid/develop

adding error message to generatedocs