List of error codes


ist there a list of error codes available?

I know WriteConflict is code 112 and a DevideByZero is code 16608. But is there a complete list?

The only source I was able to find was this one:



I just found a list of error code in mongo-c-driver (by searching one of thecode in github), it’s inside mongoc-error.h. But really, should have a better error code solution for cxx driver, or at least say something about the error code of c driver a bit.