Every error in the library, by number and alphabetically. 18 errors so far.
By error number
- 2 BadValue: unknown operator and other invalid query values
- 6 HostUnreachable: Error connecting to a member, shard or host
- 9 FailedToParse: an option or stage specification is malformed
- 13 not authorized on database to execute command
- 18 Authentication failed
- 26 NamespaceNotFound: ns does not exist or ns not found
- 48 NamespaceExists: collection already exists
- 50 operation exceeded time limit (MaxTimeMSExpired)
- 66 Performing an update on the path '_id' would modify the immutable field '_id'
- 85 IndexOptionsConflict: an equivalent index already exists (and 86 IndexKeySpecsConflict)
- 89 NetworkTimeout: a network operation between MongoDB processes timed out
- 112 WriteConflict: please retry your operation or multi-document transaction
- 121 Document failed validation
- 251 NoSuchTransaction: transaction has been aborted
- 292 Sort exceeded memory limit, but did not opt in to external sorting
- 10107 NotWritablePrimary: not primary (and 13435 not primary and secondaryOk=false)
- 11000 E11000 duplicate key error
- driver Server selection timed out (MongoServerSelectionError, ServerSelectionTimeoutError, MongoTimeoutException)
A to Z by message
A
B
D
E
F
H
I
N
- NamespaceExists: collection already exists 48
- NamespaceNotFound: ns does not exist or ns not found 26
- NetworkTimeout: a network operation between MongoDB processes timed out 89
- NoSuchTransaction: transaction has been aborted 251
- not authorized on database to execute command 13
- NotWritablePrimary: not primary (and 13435 not primary and secondaryOk=false) 10107
O
P
S
- Server selection timed out (MongoServerSelectionError, ServerSelectionTimeoutError, MongoTimeoutException) driver
- Sort exceeded memory limit, but did not opt in to external sorting 292