These are chat archives for Automattic/mongoose

Apr 2017
Apr 20 2017 14:07
hi folks, I'm trying to find in the docs something about the errors that may come in a callback function such as in model.User.findOne({login: username}, function(err, user) {
I'd like to know what I can expect to find in 'err'. so far all I got was null cause there are no errors yet, but I can't seem to find the docs for the type of errors that may be appear there