hypersolution1/mongoose-unique-validator — pull request #1 by muZk (2014-07-15 07:19:10+00:00)
Title: Allows custom message for each path 

Allows custom message using the unique path, for example:

```javascript
mongoose.Schema({
username: {
type: String,
unique: 'Username is already used.'
},
email: {
type: String,
index: true,
unique: 'It already exists.'
},
password: {
type: String
}
});
```