LearnBoost/mongoose — pull request #1981 by ngoyal (2014-03-28 03:57:58+00:00)
Title: Clear error after document initialization

An error may be set when doing the following (lines 287 - 289)
```
self.$__try(function(){
doc[i] = schema.cast(obj[i], self, true);
});
```
The error lingers as `this.$__.saveError` and can cause an error if the document is updated with valid members and saved via `.save()`.