MongoDB のエラーコード
- E11000E11000 duplicate key error collection(E11000 重複キーエラー)
- 11000DuplicateKey (エラーコード 11000)
- 13Unauthorized (エラーコード 13)
- 18AuthenticationFailed (エラーコード 18)
- 11600InterruptedAtShutdown (エラーコード 11600)
- 50MaxTimeMSExpired (エラーコード 50)
- 251NoSuchTransaction (エラーコード 251)
- 112WriteConflict (エラーコード 112)
- 133FailedToSatisfyReadPreference (エラーコード 133)
- 6HostUnreachable (エラーコード 6)
- 89NetworkTimeout (エラーコード 89)
- 262ExceededTimeLimit (エラーコード 262)
- 292QueryExceededMemoryLimitNoDiskUseAllowed (エラーコード 292)
- 26NamespaceNotFound (エラーコード 26)
- 43CursorNotFound (エラーコード 43)
- 211KeyNotFound (エラーコード 211)
- 121DocumentValidationFailure
- 40ConflictingUpdateOperators
- 66ImmutableField (_id は更新不可)
- 2BadValue
- 14TypeMismatch
- 10334BSONObjectTooLarge
- 46LockBusy
- 96OperationFailed
- 72InvalidOptions
- 9FailedToParse
- 134ReadConcernMajorityNotAvailableYet
- 202NetworkInterfaceExceededTimeLimit
- 31 RoleNotFoundRole not found(ロールが見つからない)
- 263 OperationNotSupportedInTransactionOperation not supported inside a multi-document transaction(マルチドキュメントトランザクション内でサポートされない操作)
- 20 IllegalOperationIllegal operation(不正な操作)
- 48 NamespaceExistsNamespace (collection) already exists(名前空間 (コレクション) が既に存在する)
- 11601 InterruptedOperation was interrupted(操作が中断された)
- 85 IndexOptionsConflictIndex already exists with different options / different name(異なるオプション/名前のインデックスが既に存在する)
- 67 CannotCreateIndexCannot create index(インデックスを作成できない)
- 27 IndexNotFoundIndex not found(インデックスが見つからない)
- 79 UnknownReplWriteConcernUnknown replica set write concern(不明なレプリカセット write concern)
- 10107 NotWritablePrimarynot master / not writable primary(マスターではない / 書き込み可能なプライマリではない)
- 91 ShutdownInProgressThe server is in the process of shutting down(サーバーはシャットダウン処理中)
- 189 PrimarySteppedDownPrimary stepped down while operation was in progress(操作の進行中にプライマリが stepdown した)
- 24 LockTimeoutOperation exceeded time limit waiting for a lock(ロック待機中に操作が制限時間を超えた)
- 7 HostNotFoundCould not find host(ホストが見つからない)
- 175 QueryPlanKilledQuery plan killed during execution(実行中に実行計画が強制終了された)
- 11602 InterruptedDueToReplStateChangeOperation interrupted due to a replication state change(レプリケーション状態の変化により操作が中断された)
- 136 CappedPositionLostCapped collection position lost(capped コレクションの位置を喪失)
- 28 PathNotViableCannot use the part of the path to traverse the element(パスの一部を使って要素をたどれない)
- 216 ElectionInProgressElectionInProgress
- 225 TransactionTooOldTransactionTooOld
- 246 SnapshotUnavailableSnapshotUnavailable
- 257 TransactionTooLargeTransactionTooLarge
- 276 IndexBuildAbortedIndexBuildAborted
- 86 IndexKeySpecsConflictIndexKeySpecsConflict
- 166 CommandNotSupportedOnViewCommandNotSupportedOnView
- 168 InvalidPipelineOperatorInvalidPipelineOperator
- 118 NamespaceNotShardedNamespaceNotSharded