Codes d'erreur MongoDB
- E11000E11000 duplicate key error collection (erreur de clé en double dans la collection)
- 11000DuplicateKey (code d'erreur 11000)
- 13Unauthorized (code d'erreur 13)
- 18AuthenticationFailed (code d'erreur 18)
- 11600InterruptedAtShutdown (code d'erreur 11600)
- 50MaxTimeMSExpired (code d'erreur 50)
- 251NoSuchTransaction (code d'erreur 251)
- 112WriteConflict (code d'erreur 112)
- 133FailedToSatisfyReadPreference (code d'erreur 133)
- 6HostUnreachable (code d'erreur 6)
- 89NetworkTimeout (code d'erreur 89)
- 262ExceededTimeLimit (code d'erreur 262)
- 292QueryExceededMemoryLimitNoDiskUseAllowed (code d'erreur 292)
- 26NamespaceNotFound (code d'erreur 26)
- 43CursorNotFound (code d'erreur 43)
- 211KeyNotFound (code d'erreur 211)
- 121DocumentValidationFailure
- 40ConflictingUpdateOperators
- 66ImmutableField (impossible de mettre à jour _id)
- 2BadValue
- 14TypeMismatch
- 10334BSONObjectTooLarge
- 46LockBusy
- 96OperationFailed
- 72InvalidOptions
- 9FailedToParse
- 134ReadConcernMajorityNotAvailableYet
- 202NetworkInterfaceExceededTimeLimit
- 31 RoleNotFoundRole not found
- 263 OperationNotSupportedInTransactionOperation not supported inside a multi-document transaction (opération non prise en charge dans une transaction multi-documents)
- 20 IllegalOperationIllegal operation
- 48 NamespaceExistsNamespace (collection) already exists (le namespace/la collection existe déjà)
- 11601 InterruptedOperation was interrupted
- 85 IndexOptionsConflictIndex already exists with different options / different name (un index existe déjà avec d'autres options / un autre nom)
- 67 CannotCreateIndexCannot create index
- 27 IndexNotFoundIndex not found
- 79 UnknownReplWriteConcernUnknown replica set write concern
- 10107 NotWritablePrimarynot master / not writable primary
- 91 ShutdownInProgressThe server is in the process of shutting down (le serveur est en cours d'arrêt)
- 189 PrimarySteppedDownPrimary stepped down while operation was in progress (le primaire a été rétrogradé pendant l'opération)
- 24 LockTimeoutOperation exceeded time limit waiting for a lock (l'opération a dépassé le délai d'attente d'un verrou)
- 7 HostNotFoundCould not find host
- 175 QueryPlanKilledQuery plan killed during execution
- 11602 InterruptedDueToReplStateChangeOperation interrupted due to a replication state change (opération interrompue suite à un changement d'état de la réplication)
- 136 CappedPositionLostCapped collection position lost
- 28 PathNotViableCannot use the part of the path to traverse the element (impossible d'utiliser cette partie du chemin pour parcourir l'élément)
- 216 ElectionInProgressElectionInProgress
- 225 TransactionTooOldTransactionTooOld
- 246 SnapshotUnavailableSnapshotUnavailable
- 257 TransactionTooLargeTransactionTooLarge
- 276 IndexBuildAbortedIndexBuildAborted
- 86 IndexKeySpecsConflictIndexKeySpecsConflict
- 166 CommandNotSupportedOnViewCommandNotSupportedOnView
- 168 InvalidPipelineOperatorInvalidPipelineOperator
- 118 NamespaceNotShardedNamespaceNotSharded