Documentation ¶
Index ¶
- type Error
- func ErrAlreadyInitialized() Error
- func ErrAmbiguousIndexKeyPattern() Error
- func ErrAtomicityFailure() Error
- func ErrAuthSchemaIncompatible() Error
- func ErrAuthenticationFailed() Error
- func ErrAuthenticationRestrictionUnmet() Error
- func ErrBSONObjectTooLarge() Error
- func ErrBackgroundOperationInProgressForDatabase() Error
- func ErrBackgroundOperationInProgressForNamespace() Error
- func ErrBadPerfCounterPath() Error
- func ErrBadValue() Error
- func ErrBalancerInterrupted() Error
- func ErrBrokenPromise() Error
- func ErrCallbackCanceled() Error
- func ErrCanRepairToDowngrade() Error
- func ErrCannotApplyOplogWhilePrimary() Error
- func ErrCannotBackfillArray() Error
- func ErrCannotBuildIndexKeys() Error
- func ErrCannotCreateCollection() Error
- func ErrCannotCreateIndex() Error
- func ErrCannotGrowDocumentInCappedNamespace() Error
- func ErrCannotImplicitlyCreateCollection() Error
- func ErrCannotIndexParallelArrays() Error
- func ErrCannotInitializeNodeWithData() Error
- func ErrCannotMutateObject() Error
- func ErrCannotReuseObject() Error
- func ErrCannotSatisfyWriteConcern() Error
- func ErrCannotSplit() Error
- func ErrCannotVerifyAndSignLogicalTime() Error
- func ErrCappedPositionLost() Error
- func ErrChunkRangeCleanupPending() Error
- func ErrChunkTooBig() Error
- func ErrClientMetadataAppNameTooLarge() Error
- func ErrClientMetadataCannotBeMutated() Error
- func ErrClientMetadataDocumentTooLarge() Error
- func ErrClientMetadataMissingField() Error
- func ErrCloseChangeStream() Error
- func ErrClusterTimeFailsRateLimiter() Error
- func ErrCollectionIsEmpty() Error
- func ErrCommandFailed() Error
- func ErrCommandNotFound() Error
- func ErrCommandNotSupported() Error
- func ErrCommandNotSupportedOnView() Error
- func ErrCommandOnShardedViewNotSupportedOnMongod() Error
- func ErrCommandResultSchemaViolation() Error
- func ErrConfigurationInProgress() Error
- func ErrConflictingOperationInProgress() Error
- func ErrConflictingUpdateOperators() Error
- func ErrConversionFailure() Error
- func ErrCursorInUse() Error
- func ErrCursorKilled() Error
- func ErrCursorNotFound() Error
- func ErrDBPathInUse() Error
- func ErrDNSHostNotFound() Error
- func ErrDNSProtocolError() Error
- func ErrDNSRecordTypeMismatch() Error
- func ErrDatabaseDifferCase() Error
- func ErrDatabaseDropPending() Error
- func ErrDistributedClockSkewed() Error
- func ErrDocTooLargeForCapped() Error
- func ErrDocumentValidationFailure() Error
- func ErrDollarPrefixedFieldName() Error
- func ErrDottedFieldName() Error
- func ErrDuplicateKey() Error
- func ErrDuplicateKeyValue() Error
- func ErrDuplicateSession() Error
- func ErrDurationOverflow() Error
- func ErrElectionInProgress() Error
- func ErrEmptyArrayOperation() Error
- func ErrEmptyFieldName() Error
- func ErrExceededMemoryLimit() Error
- func ErrExceededTimeLimit() Error
- func ErrFTDCPathAlreadySet() Error
- func ErrFTDCPathNotSet() Error
- func ErrFailPointEnabled() Error
- func ErrFailedToParse() Error
- func ErrFailedToSatisfyReadPreference() Error
- func ErrFileAlreadyOpen() Error
- func ErrFileNotOpen() Error
- func ErrFileOpenFailed() Error
- func ErrFileRenameFailed() Error
- func ErrFileStreamFailed() Error
- func ErrForTestingErrorExtraInfo() Error
- func ErrFreeMonHttpInFlight() Error
- func ErrFreeMonHttpPermanentFailure() Error
- func ErrFreeMonHttpTemporaryFailure() Error
- func ErrGraphContainsCycle() Error
- func ErrHostNotFound() Error
- func ErrHostUnreachable() Error
- func ErrIllegalOpMsgFlag() Error
- func ErrIllegalOperation() Error
- func ErrImmutableField() Error
- func ErrIncompatibleAuditMetadata() Error
- func ErrIncompatibleCatalogManager() Error
- func ErrIncompatibleCollationVersion() Error
- func ErrIncompatibleElectionProtocol() Error
- func ErrIncompatibleRollbackAlgorithm() Error
- func ErrIncompatibleServerVersion() Error
- func ErrIncompatibleShardingConfigVersion() Error
- func ErrIncompatibleShardingMetadata() Error
- func ErrIncompatibleWithUpgradedServer() Error
- func ErrIncompleteTransactionHistory() Error
- func ErrInconsistentReplicaSetNames() Error
- func ErrInconsistentShardIdentity() Error
- func ErrIndexAlreadyExists() Error
- func ErrIndexKeySpecsConflict() Error
- func ErrIndexModified() Error
- func ErrIndexNotFound() Error
- func ErrIndexOptionsConflict() Error
- func ErrInitialSyncActive() Error
- func ErrInitialSyncFailure() Error
- func ErrInitialSyncOplogSourceMissing() Error
- func ErrInternalError() Error
- func ErrInternalErrorNotSupported() Error
- func ErrInterrupted() Error
- func ErrInterruptedAtShutdown() Error
- func ErrInterruptedDueToReplStateChange() Error
- func ErrInvalidBSON() Error
- func ErrInvalidDBRef() Error
- func ErrInvalidIdField() Error
- func ErrInvalidIndexSpecificationOption() Error
- func ErrInvalidLength() Error
- func ErrInvalidNamespace() Error
- func ErrInvalidOptions() Error
- func ErrInvalidPath() Error
- func ErrInvalidPipelineOperator() Error
- func ErrInvalidReplicaSetConfig() Error
- func ErrInvalidRoleModification() Error
- func ErrInvalidSSLConfiguration() Error
- func ErrInvalidSyncSource() Error
- func ErrInvalidUUID() Error
- func ErrInvalidViewDefinition() Error
- func ErrJSInterpreterFailure() Error
- func ErrJSUncatchableError() Error
- func ErrKeyNotFound() Error
- func ErrKeyTooLong() Error
- func ErrLinearizableReadConcernError() Error
- func ErrLockBusy() Error
- func ErrLockFailed() Error
- func ErrLockNotFound() Error
- func ErrLockStateChangeFailed() Error
- func ErrLockTimeout() Error
- func ErrLogWriteFailed() Error
- func ErrManualInterventionRequired() Error
- func ErrMasterSlaveConnectionFailure() Error
- func ErrMaxStalenessOutOfRange() Error
- func ErrMaxSubPipelineDepthExceeded() Error
- func ErrMultipleErrorsOccurred() Error
- func ErrMustDowngrade() Error
- func ErrMustUpgrade() Error
- func ErrNOT_YET_AVAILABLE_TransactionAborted() Error
- func ErrNamespaceExists() Error
- func ErrNamespaceNotFound() Error
- func ErrNamespaceNotSharded() Error
- func ErrNeedsDocumentMove() Error
- func ErrNetworkInterfaceExceededTimeLimit() Error
- func ErrNetworkTimeout() Error
- func ErrNewReplicaSetConfigurationIncompatible() Error
- func ErrNoConfigMaster() Error
- func ErrNoMatchParseContext() Error
- func ErrNoMatchingDocument() Error
- func ErrNoProgressMade() Error
- func ErrNoProjectionFound() Error
- func ErrNoReplicationEnabled() Error
- func ErrNoShardingEnabled() Error
- func ErrNoSuchKey() Error
- func ErrNoSuchSession() Error
- func ErrNoSuchTransaction() Error
- func ErrNodeNotElectable() Error
- func ErrNodeNotFound() Error
- func ErrNonExistentPath() Error
- func ErrNotAReplicaSet() Error
- func ErrNotExactValueField() Error
- func ErrNotImplemented() Error
- func ErrNotMaster() Error
- func ErrNotMasterNoSlaveOk() Error
- func ErrNotMasterOrSecondary() Error
- func ErrNotSecondary() Error
- func ErrNotSingleValueField() Error
- func ErrNotYetInitialized() Error
- func ErrOBSOLETE_BalancerLostDistributedLock() Error
- func ErrOBSOLETE_ConfigServersInconsistent() Error
- func ErrOBSOLETE_DatabaseNotFound() Error
- func ErrOBSOLETE_DuplicateKey() Error
- func ErrOBSOLETE_PrepareConfigsFailed() Error
- func ErrOBSOLETE_ReadAfterOptimeTimeout() Error
- func ErrOBSOLETE_ReceivedOpReplyMessage() Error
- func ErrOBSOLETE_RecvStaleConfig() Error
- func ErrOK() Error
- func ErrOperationCannotBeBatched() Error
- func ErrOperationFailed() Error
- func ErrOperationIncomplete() Error
- func ErrOplogOperationUnsupported() Error
- func ErrOplogOutOfOrder() Error
- func ErrOplogStartMissing() Error
- func ErrOptionNotSupportedOnView() Error
- func ErrOutOfDiskSpace() Error
- func ErrOutdatedClient() Error
- func ErrOverflow() Error
- func ErrPathNotViable() Error
- func ErrPooledConnectionsDropped() Error
- func ErrPrimarySteppedDown() Error
- func ErrPrivilegeNotFound() Error
- func ErrProducerConsumerQueueBatchTooLarge() Error
- func ErrProducerConsumerQueueEndClosed() Error
- func ErrProtocolError() Error
- func ErrQueryFeatureNotAllowed() Error
- func ErrQueryPlanKilled() Error
- func ErrRLPInitializationFailed() Error
- func ErrRPCProtocolNegotiationFailed() Error
- func ErrRangeOverlapConflict() Error
- func ErrReadConcernMajorityNotAvailableYet() Error
- func ErrReadConcernMajorityNotEnabled() Error
- func ErrReentrancyNotAllowed() Error
- func ErrRemoteChangeDetected() Error
- func ErrRemoteOplogStale() Error
- func ErrRemoteResultsUnavailable() Error
- func ErrRemoteValidationError() Error
- func ErrReplicaSetMonitorRemoved() Error
- func ErrReplicaSetNotFound() Error
- func ErrRetryChangeStream() Error
- func ErrRoleDataInconsistent() Error
- func ErrRoleModificationFailed() Error
- func ErrRoleNotFound() Error
- func ErrRolesNotRelated() Error
- func ErrSSLHandshakeFailed() Error
- func ErrSecondaryAheadOfPrimary() Error
- func ErrSessionTransferIncomplete() Error
- func ErrShardKeyNotFound() Error
- func ErrShardKeyTooBig() Error
- func ErrShardNotFound() Error
- func ErrShardingStateNotInitialized() Error
- func ErrShutdownInProgress() Error
- func ErrSnapshotTooOld() Error
- func ErrSnapshotUnavailable() Error
- func ErrSocketException() Error
- func ErrSplitFailed_OBSOLETE() Error
- func ErrStaleChunkHistory() Error
- func ErrStaleClusterTime() Error
- func ErrStaleConfig() Error
- func ErrStaleDbVersion() Error
- func ErrStaleEpoch() Error
- func ErrStaleShardVersion() Error
- func ErrStaleTerm() Error
- func ErrSymbolNotFound() Error
- func ErrTimeProofMismatch() Error
- func ErrTooManyDocumentSequences() Error
- func ErrTooManyLocks() Error
- func ErrTooManyMatchingDocuments() Error
- func ErrTransactionCommitted() Error
- func ErrTransactionTooLarge() Error
- func ErrTransactionTooOld() Error
- func ErrTransportSessionClosed() Error
- func ErrTransportSessionNotFound() Error
- func ErrTransportSessionUnknown() Error
- func ErrTypeMismatch() Error
- func ErrUnauthorized() Error
- func ErrUnknownError() Error
- func ErrUnknownFeatureCompatibilityVersion() Error
- func ErrUnknownReplWriteConcern() Error
- func ErrUnrecoverableRollbackError() Error
- func ErrUnsupportedFormat() Error
- func ErrUpdateOperationFailed() Error
- func ErrUserDataInconsistent() Error
- func ErrUserModificationFailed() Error
- func ErrUserNotFound() Error
- func ErrViewDepthLimitExceeded() Error
- func ErrViewPipelineMaxSizeExceeded() Error
- func ErrWindowsPdhError() Error
- func ErrWriteConcernFailed() Error
- func ErrWriteConcernLegacyOK() Error
- func ErrWriteConflict() Error
- func ErrZLibError() Error
- func ErrZoneNotFound() Error
- func ErrZoneStillInUse() Error
- func FromMongoErr(queryError *mgo.QueryError) Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { Message string `json:"message" bson:"message"` Code int `json:"code" bson:"code"` }
func ErrAlreadyInitialized ¶
func ErrAlreadyInitialized() Error
ErrAlreadyInitialized -- code 23, already initialized
func ErrAmbiguousIndexKeyPattern ¶
func ErrAmbiguousIndexKeyPattern() Error
ErrAmbiguousIndexKeyPattern -- code 181, ambiguous index key pattern
func ErrAtomicityFailure ¶
func ErrAtomicityFailure() Error
ErrAtomicityFailure -- code 226, atomicity failure
func ErrAuthSchemaIncompatible ¶
func ErrAuthSchemaIncompatible() Error
ErrAuthSchemaIncompatible -- code 69, auth schema incompatible
func ErrAuthenticationFailed ¶
func ErrAuthenticationFailed() Error
ErrAuthenticationFailed -- code 18, authentication failed
func ErrAuthenticationRestrictionUnmet ¶
func ErrAuthenticationRestrictionUnmet() Error
ErrAuthenticationRestrictionUnmet -- code 214, authentication restriction unmet
func ErrBSONObjectTooLarge ¶
func ErrBSONObjectTooLarge() Error
ErrBSONObjectTooLarge -- code 10334, bson object too large
func ErrBackgroundOperationInProgressForDatabase ¶
func ErrBackgroundOperationInProgressForDatabase() Error
ErrBackgroundOperationInProgressForDatabase -- code 12586, background operation in progress for database
func ErrBackgroundOperationInProgressForNamespace ¶
func ErrBackgroundOperationInProgressForNamespace() Error
ErrBackgroundOperationInProgressForNamespace -- code 12587, background operation in progress for namespace
func ErrBadPerfCounterPath ¶
func ErrBadPerfCounterPath() Error
ErrBadPerfCounterPath -- code 180, bad perf counter path
func ErrBalancerInterrupted ¶
func ErrBalancerInterrupted() Error
ErrBalancerInterrupted -- code 194, balancer interrupted
func ErrCallbackCanceled ¶
func ErrCallbackCanceled() Error
ErrCallbackCanceled -- code 90, callback canceled
func ErrCanRepairToDowngrade ¶
func ErrCanRepairToDowngrade() Error
ErrCanRepairToDowngrade -- code 157, can repair to downgrade
func ErrCannotApplyOplogWhilePrimary ¶
func ErrCannotApplyOplogWhilePrimary() Error
ErrCannotApplyOplogWhilePrimary -- code 155, cannot apply oplog while primary
func ErrCannotBackfillArray ¶
func ErrCannotBackfillArray() Error
ErrCannotBackfillArray -- code 34, cannot backfill array
func ErrCannotBuildIndexKeys ¶
func ErrCannotBuildIndexKeys() Error
ErrCannotBuildIndexKeys -- code 201, cannot build index keys
func ErrCannotCreateCollection ¶
func ErrCannotCreateCollection() Error
ErrCannotCreateCollection -- code 242, cannot create collection
func ErrCannotCreateIndex ¶
func ErrCannotCreateIndex() Error
ErrCannotCreateIndex -- code 67, cannot create index
func ErrCannotGrowDocumentInCappedNamespace ¶
func ErrCannotGrowDocumentInCappedNamespace() Error
ErrCannotGrowDocumentInCappedNamespace -- code 10003, cannot grow document in capped namespace
func ErrCannotImplicitlyCreateCollection ¶
func ErrCannotImplicitlyCreateCollection() Error
ErrCannotImplicitlyCreateCollection -- code 227, cannot implicitly create collection
func ErrCannotIndexParallelArrays ¶
func ErrCannotIndexParallelArrays() Error
ErrCannotIndexParallelArrays -- code 171, cannot index parallel arrays
func ErrCannotInitializeNodeWithData ¶
func ErrCannotInitializeNodeWithData() Error
ErrCannotInitializeNodeWithData -- code 110, cannot initialize node with data
func ErrCannotMutateObject ¶
func ErrCannotMutateObject() Error
ErrCannotMutateObject -- code 10, cannot mutate object
func ErrCannotReuseObject ¶
func ErrCannotReuseObject() Error
ErrCannotReuseObject -- code 19, cannot reuse object
func ErrCannotSatisfyWriteConcern ¶
func ErrCannotSatisfyWriteConcern() Error
ErrCannotSatisfyWriteConcern -- code 100, cannot satisfy write concern
func ErrCannotVerifyAndSignLogicalTime ¶
func ErrCannotVerifyAndSignLogicalTime() Error
ErrCannotVerifyAndSignLogicalTime -- code 210, cannot verify and sign logical time
func ErrCappedPositionLost ¶
func ErrCappedPositionLost() Error
ErrCappedPositionLost -- code 136, capped position lost
func ErrChunkRangeCleanupPending ¶
func ErrChunkRangeCleanupPending() Error
ErrChunkRangeCleanupPending -- code 200, chunk range cleanup pending
func ErrClientMetadataAppNameTooLarge ¶
func ErrClientMetadataAppNameTooLarge() Error
ErrClientMetadataAppNameTooLarge -- code 184, client metadata app name too large
func ErrClientMetadataCannotBeMutated ¶
func ErrClientMetadataCannotBeMutated() Error
ErrClientMetadataCannotBeMutated -- code 186, client metadata cannot be mutated
func ErrClientMetadataDocumentTooLarge ¶
func ErrClientMetadataDocumentTooLarge() Error
ErrClientMetadataDocumentTooLarge -- code 185, client metadata document too large
func ErrClientMetadataMissingField ¶
func ErrClientMetadataMissingField() Error
ErrClientMetadataMissingField -- code 183, client metadata missing field
func ErrCloseChangeStream ¶
func ErrCloseChangeStream() Error
ErrCloseChangeStream -- code 222, close change stream
func ErrClusterTimeFailsRateLimiter ¶
func ErrClusterTimeFailsRateLimiter() Error
ErrClusterTimeFailsRateLimiter -- code 205, cluster time fails rate limiter
func ErrCollectionIsEmpty ¶
func ErrCollectionIsEmpty() Error
ErrCollectionIsEmpty -- code 162, collection is empty
func ErrCommandNotFound ¶
func ErrCommandNotFound() Error
ErrCommandNotFound -- code 59, command not found
func ErrCommandNotSupported ¶
func ErrCommandNotSupported() Error
ErrCommandNotSupported -- code 115, command not supported
func ErrCommandNotSupportedOnView ¶
func ErrCommandNotSupportedOnView() Error
ErrCommandNotSupportedOnView -- code 166, command not supported on view
func ErrCommandOnShardedViewNotSupportedOnMongod ¶
func ErrCommandOnShardedViewNotSupportedOnMongod() Error
ErrCommandOnShardedViewNotSupportedOnMongod -- code 169, command on sharded view not supported on mongod
func ErrCommandResultSchemaViolation ¶
func ErrCommandResultSchemaViolation() Error
ErrCommandResultSchemaViolation -- code 78, command result schema violation
func ErrConfigurationInProgress ¶
func ErrConfigurationInProgress() Error
ErrConfigurationInProgress -- code 109, configuration in progress
func ErrConflictingOperationInProgress ¶
func ErrConflictingOperationInProgress() Error
ErrConflictingOperationInProgress -- code 117, conflicting operation in progress
func ErrConflictingUpdateOperators ¶
func ErrConflictingUpdateOperators() Error
ErrConflictingUpdateOperators -- code 40, conflicting update operators
func ErrConversionFailure ¶
func ErrConversionFailure() Error
ErrConversionFailure -- code 241, conversion failure
func ErrCursorNotFound ¶
func ErrCursorNotFound() Error
ErrCursorNotFound -- code 43, cursor not found
func ErrDNSHostNotFound ¶
func ErrDNSHostNotFound() Error
ErrDNSHostNotFound -- code 230, dns host not found
func ErrDNSProtocolError ¶
func ErrDNSProtocolError() Error
ErrDNSProtocolError -- code 231, dns protocol error
func ErrDNSRecordTypeMismatch ¶
func ErrDNSRecordTypeMismatch() Error
ErrDNSRecordTypeMismatch -- code 240, dns record type mismatch
func ErrDatabaseDifferCase ¶
func ErrDatabaseDifferCase() Error
ErrDatabaseDifferCase -- code 13297, database differ case
func ErrDatabaseDropPending ¶
func ErrDatabaseDropPending() Error
ErrDatabaseDropPending -- code 215, database drop pending
func ErrDistributedClockSkewed ¶
func ErrDistributedClockSkewed() Error
ErrDistributedClockSkewed -- code 106, distributed clock skewed
func ErrDocTooLargeForCapped ¶
func ErrDocTooLargeForCapped() Error
ErrDocTooLargeForCapped -- code 116, doc too large for capped
func ErrDocumentValidationFailure ¶
func ErrDocumentValidationFailure() Error
ErrDocumentValidationFailure -- code 121, document validation failure
func ErrDollarPrefixedFieldName ¶
func ErrDollarPrefixedFieldName() Error
ErrDollarPrefixedFieldName -- code 52, dollar prefixed field name
func ErrDottedFieldName ¶
func ErrDottedFieldName() Error
ErrDottedFieldName -- code 57, dotted field name
func ErrDuplicateKeyValue ¶
func ErrDuplicateKeyValue() Error
ErrDuplicateKeyValue -- code 84, duplicate key value
func ErrDuplicateSession ¶
func ErrDuplicateSession() Error
ErrDuplicateSession -- code 213, duplicate session
func ErrDurationOverflow ¶
func ErrDurationOverflow() Error
ErrDurationOverflow -- code 159, duration overflow
func ErrElectionInProgress ¶
func ErrElectionInProgress() Error
ErrElectionInProgress -- code 216, election in progress
func ErrEmptyArrayOperation ¶
func ErrEmptyArrayOperation() Error
ErrEmptyArrayOperation -- code 21, empty array operation
func ErrEmptyFieldName ¶
func ErrEmptyFieldName() Error
ErrEmptyFieldName -- code 56, empty field name
func ErrExceededMemoryLimit ¶
func ErrExceededMemoryLimit() Error
ErrExceededMemoryLimit -- code 146, exceeded memory limit
func ErrExceededTimeLimit ¶
func ErrExceededTimeLimit() Error
ErrExceededTimeLimit -- code 50, exceeded time limit
func ErrFTDCPathAlreadySet ¶
func ErrFTDCPathAlreadySet() Error
ErrFTDCPathAlreadySet -- code 220, ftdc path already set
func ErrFTDCPathNotSet ¶
func ErrFTDCPathNotSet() Error
ErrFTDCPathNotSet -- code 219, ftdc path not set
func ErrFailPointEnabled ¶
func ErrFailPointEnabled() Error
ErrFailPointEnabled -- code 192, fail point enabled
func ErrFailedToSatisfyReadPreference ¶
func ErrFailedToSatisfyReadPreference() Error
ErrFailedToSatisfyReadPreference -- code 133, failed to satisfy read preference
func ErrFileAlreadyOpen ¶
func ErrFileAlreadyOpen() Error
ErrFileAlreadyOpen -- code 41, file already open
func ErrFileOpenFailed ¶
func ErrFileOpenFailed() Error
ErrFileOpenFailed -- code 176, file open failed
func ErrFileRenameFailed ¶
func ErrFileRenameFailed() Error
ErrFileRenameFailed -- code 37, file rename failed
func ErrFileStreamFailed ¶
func ErrFileStreamFailed() Error
ErrFileStreamFailed -- code 39, file stream failed
func ErrForTestingErrorExtraInfo ¶
func ErrForTestingErrorExtraInfo() Error
ErrForTestingErrorExtraInfo -- code 236, for testing error extra info
func ErrFreeMonHttpInFlight ¶
func ErrFreeMonHttpInFlight() Error
ErrFreeMonHttpInFlight -- code 253, free mon http in flight
func ErrFreeMonHttpPermanentFailure ¶
func ErrFreeMonHttpPermanentFailure() Error
ErrFreeMonHttpPermanentFailure -- code 255, free mon http permanent failure
func ErrFreeMonHttpTemporaryFailure ¶
func ErrFreeMonHttpTemporaryFailure() Error
ErrFreeMonHttpTemporaryFailure -- code 254, free mon http temporary failure
func ErrGraphContainsCycle ¶
func ErrGraphContainsCycle() Error
ErrGraphContainsCycle -- code 5, graph contains cycle
func ErrHostUnreachable ¶
func ErrHostUnreachable() Error
ErrHostUnreachable -- code 6, host unreachable
func ErrIllegalOpMsgFlag ¶
func ErrIllegalOpMsgFlag() Error
ErrIllegalOpMsgFlag -- code 223, illegal op msg flag
func ErrIllegalOperation ¶
func ErrIllegalOperation() Error
ErrIllegalOperation -- code 20, illegal operation
func ErrImmutableField ¶
func ErrImmutableField() Error
ErrImmutableField -- code 66, immutable field
func ErrIncompatibleAuditMetadata ¶
func ErrIncompatibleAuditMetadata() Error
ErrIncompatibleAuditMetadata -- code 102, incompatible audit metadata
func ErrIncompatibleCatalogManager ¶
func ErrIncompatibleCatalogManager() Error
ErrIncompatibleCatalogManager -- code 144, incompatible catalog manager
func ErrIncompatibleCollationVersion ¶
func ErrIncompatibleCollationVersion() Error
ErrIncompatibleCollationVersion -- code 161, incompatible collation version
func ErrIncompatibleElectionProtocol ¶
func ErrIncompatibleElectionProtocol() Error
ErrIncompatibleElectionProtocol -- code 124, incompatible election protocol
func ErrIncompatibleRollbackAlgorithm ¶
func ErrIncompatibleRollbackAlgorithm() Error
ErrIncompatibleRollbackAlgorithm -- code 212, incompatible rollback algorithm
func ErrIncompatibleServerVersion ¶
func ErrIncompatibleServerVersion() Error
ErrIncompatibleServerVersion -- code 188, incompatible server version
func ErrIncompatibleShardingConfigVersion ¶
func ErrIncompatibleShardingConfigVersion() Error
ErrIncompatibleShardingConfigVersion -- code 137, incompatible sharding config version
func ErrIncompatibleShardingMetadata ¶
func ErrIncompatibleShardingMetadata() Error
ErrIncompatibleShardingMetadata -- code 105, incompatible sharding metadata
func ErrIncompatibleWithUpgradedServer ¶
func ErrIncompatibleWithUpgradedServer() Error
ErrIncompatibleWithUpgradedServer -- code 243, incompatible with upgraded server
func ErrIncompleteTransactionHistory ¶
func ErrIncompleteTransactionHistory() Error
ErrIncompleteTransactionHistory -- code 217, incomplete transaction history
func ErrInconsistentReplicaSetNames ¶
func ErrInconsistentReplicaSetNames() Error
ErrInconsistentReplicaSetNames -- code 108, inconsistent replica set names
func ErrInconsistentShardIdentity ¶
func ErrInconsistentShardIdentity() Error
ErrInconsistentShardIdentity -- code 154, inconsistent shard identity
func ErrIndexAlreadyExists ¶
func ErrIndexAlreadyExists() Error
ErrIndexAlreadyExists -- code 68, index already exists
func ErrIndexKeySpecsConflict ¶
func ErrIndexKeySpecsConflict() Error
ErrIndexKeySpecsConflict -- code 86, index key specs conflict
func ErrIndexOptionsConflict ¶
func ErrIndexOptionsConflict() Error
ErrIndexOptionsConflict -- code 85, index options conflict
func ErrInitialSyncActive ¶
func ErrInitialSyncActive() Error
ErrInitialSyncActive -- code 164, initial sync active
func ErrInitialSyncFailure ¶
func ErrInitialSyncFailure() Error
ErrInitialSyncFailure -- code 113, initial sync failure
func ErrInitialSyncOplogSourceMissing ¶
func ErrInitialSyncOplogSourceMissing() Error
ErrInitialSyncOplogSourceMissing -- code 114, initial sync oplog source missing
func ErrInternalErrorNotSupported ¶
func ErrInternalErrorNotSupported() Error
ErrInternalErrorNotSupported -- code 235, internal error not supported
func ErrInterruptedAtShutdown ¶
func ErrInterruptedAtShutdown() Error
ErrInterruptedAtShutdown -- code 11600, interrupted at shutdown
func ErrInterruptedDueToReplStateChange ¶
func ErrInterruptedDueToReplStateChange() Error
ErrInterruptedDueToReplStateChange -- code 11602, interrupted due to repl state change
func ErrInvalidIdField ¶
func ErrInvalidIdField() Error
ErrInvalidIdField -- code 53, invalid id field
func ErrInvalidIndexSpecificationOption ¶
func ErrInvalidIndexSpecificationOption() Error
ErrInvalidIndexSpecificationOption -- code 197, invalid index specification option
func ErrInvalidNamespace ¶
func ErrInvalidNamespace() Error
ErrInvalidNamespace -- code 73, invalid namespace
func ErrInvalidOptions ¶
func ErrInvalidOptions() Error
ErrInvalidOptions -- code 72, invalid options
func ErrInvalidPipelineOperator ¶
func ErrInvalidPipelineOperator() Error
ErrInvalidPipelineOperator -- code 168, invalid pipeline operator
func ErrInvalidReplicaSetConfig ¶
func ErrInvalidReplicaSetConfig() Error
ErrInvalidReplicaSetConfig -- code 93, invalid replica set config
func ErrInvalidRoleModification ¶
func ErrInvalidRoleModification() Error
ErrInvalidRoleModification -- code 49, invalid role modification
func ErrInvalidSSLConfiguration ¶
func ErrInvalidSSLConfiguration() Error
ErrInvalidSSLConfiguration -- code 140, invalid ssl configuration
func ErrInvalidSyncSource ¶
func ErrInvalidSyncSource() Error
ErrInvalidSyncSource -- code 119, invalid sync source
func ErrInvalidViewDefinition ¶
func ErrInvalidViewDefinition() Error
ErrInvalidViewDefinition -- code 182, invalid view definition
func ErrJSInterpreterFailure ¶
func ErrJSInterpreterFailure() Error
ErrJSInterpreterFailure -- code 139, js interpreter failure
func ErrJSUncatchableError ¶
func ErrJSUncatchableError() Error
ErrJSUncatchableError -- code 142, js uncatchable error
func ErrLinearizableReadConcernError ¶
func ErrLinearizableReadConcernError() Error
ErrLinearizableReadConcernError -- code 187, linearizable read concern error
func ErrLockStateChangeFailed ¶
func ErrLockStateChangeFailed() Error
ErrLockStateChangeFailed -- code 129, lock state change failed
func ErrLogWriteFailed ¶
func ErrLogWriteFailed() Error
ErrLogWriteFailed -- code 42, log write failed
func ErrManualInterventionRequired ¶
func ErrManualInterventionRequired() Error
ErrManualInterventionRequired -- code 51, manual intervention required
func ErrMasterSlaveConnectionFailure ¶
func ErrMasterSlaveConnectionFailure() Error
ErrMasterSlaveConnectionFailure -- code 190, master slave connection failure
func ErrMaxStalenessOutOfRange ¶
func ErrMaxStalenessOutOfRange() Error
ErrMaxStalenessOutOfRange -- code 160, max staleness out of range
func ErrMaxSubPipelineDepthExceeded ¶
func ErrMaxSubPipelineDepthExceeded() Error
ErrMaxSubPipelineDepthExceeded -- code 232, max sub pipeline depth exceeded
func ErrMultipleErrorsOccurred ¶
func ErrMultipleErrorsOccurred() Error
ErrMultipleErrorsOccurred -- code 65, multiple errors occurred
func ErrNOT_YET_AVAILABLE_TransactionAborted ¶
func ErrNOT_YET_AVAILABLE_TransactionAborted() Error
ErrNOT_YET_AVAILABLE_TransactionAborted -- code 244, not_yet_available_ transaction aborted
func ErrNamespaceExists ¶
func ErrNamespaceExists() Error
ErrNamespaceExists -- code 48, namespace exists
func ErrNamespaceNotFound ¶
func ErrNamespaceNotFound() Error
ErrNamespaceNotFound -- code 26, namespace not found
func ErrNamespaceNotSharded ¶
func ErrNamespaceNotSharded() Error
ErrNamespaceNotSharded -- code 118, namespace not sharded
func ErrNeedsDocumentMove ¶
func ErrNeedsDocumentMove() Error
ErrNeedsDocumentMove -- code 156, needs document move
func ErrNetworkInterfaceExceededTimeLimit ¶
func ErrNetworkInterfaceExceededTimeLimit() Error
ErrNetworkInterfaceExceededTimeLimit -- code 202, network interface exceeded time limit
func ErrNetworkTimeout ¶
func ErrNetworkTimeout() Error
ErrNetworkTimeout -- code 89, network timeout
func ErrNewReplicaSetConfigurationIncompatible ¶
func ErrNewReplicaSetConfigurationIncompatible() Error
ErrNewReplicaSetConfigurationIncompatible -- code 103, new replica set configuration incompatible
func ErrNoConfigMaster ¶
func ErrNoConfigMaster() Error
ErrNoConfigMaster -- code 149, no config master
func ErrNoMatchParseContext ¶
func ErrNoMatchParseContext() Error
ErrNoMatchParseContext -- code 81, no match parse context
func ErrNoMatchingDocument ¶
func ErrNoMatchingDocument() Error
ErrNoMatchingDocument -- code 47, no matching document
func ErrNoProgressMade ¶
func ErrNoProgressMade() Error
ErrNoProgressMade -- code 82, no progress made
func ErrNoProjectionFound ¶
func ErrNoProjectionFound() Error
ErrNoProjectionFound -- code 97, no projection found
func ErrNoReplicationEnabled ¶
func ErrNoReplicationEnabled() Error
ErrNoReplicationEnabled -- code 76, no replication enabled
func ErrNoShardingEnabled ¶
func ErrNoShardingEnabled() Error
ErrNoShardingEnabled -- code 193, no sharding enabled
func ErrNoSuchTransaction ¶
func ErrNoSuchTransaction() Error
ErrNoSuchTransaction -- code 251, no such transaction
func ErrNodeNotElectable ¶
func ErrNodeNotElectable() Error
ErrNodeNotElectable -- code 104, node not electable
func ErrNonExistentPath ¶
func ErrNonExistentPath() Error
ErrNonExistentPath -- code 29, non existent path
func ErrNotAReplicaSet ¶
func ErrNotAReplicaSet() Error
ErrNotAReplicaSet -- code 123, not a replica set
func ErrNotExactValueField ¶
func ErrNotExactValueField() Error
ErrNotExactValueField -- code 111, not exact value field
func ErrNotImplemented ¶
func ErrNotImplemented() Error
ErrNotImplemented -- code 238, not implemented
func ErrNotMasterNoSlaveOk ¶
func ErrNotMasterNoSlaveOk() Error
ErrNotMasterNoSlaveOk -- code 13435, not master no slave ok
func ErrNotMasterOrSecondary ¶
func ErrNotMasterOrSecondary() Error
ErrNotMasterOrSecondary -- code 13436, not master or secondary
func ErrNotSingleValueField ¶
func ErrNotSingleValueField() Error
ErrNotSingleValueField -- code 54, not single value field
func ErrNotYetInitialized ¶
func ErrNotYetInitialized() Error
ErrNotYetInitialized -- code 94, not yet initialized
func ErrOBSOLETE_BalancerLostDistributedLock ¶
func ErrOBSOLETE_BalancerLostDistributedLock() Error
ErrOBSOLETE_BalancerLostDistributedLock -- code 191, obsolete_ balancer lost distributed lock
func ErrOBSOLETE_ConfigServersInconsistent ¶
func ErrOBSOLETE_ConfigServersInconsistent() Error
ErrOBSOLETE_ConfigServersInconsistent -- code 132, obsolete_ config servers inconsistent
func ErrOBSOLETE_DatabaseNotFound ¶
func ErrOBSOLETE_DatabaseNotFound() Error
ErrOBSOLETE_DatabaseNotFound -- code 60, obsolete_ database not found
func ErrOBSOLETE_DuplicateKey ¶
func ErrOBSOLETE_DuplicateKey() Error
ErrOBSOLETE_DuplicateKey -- code 3, obsolete_ duplicate key
func ErrOBSOLETE_PrepareConfigsFailed ¶
func ErrOBSOLETE_PrepareConfigsFailed() Error
ErrOBSOLETE_PrepareConfigsFailed -- code 13104, obsolete_ prepare configs failed
func ErrOBSOLETE_ReadAfterOptimeTimeout ¶
func ErrOBSOLETE_ReadAfterOptimeTimeout() Error
ErrOBSOLETE_ReadAfterOptimeTimeout -- code 122, obsolete_ read after optime timeout
func ErrOBSOLETE_ReceivedOpReplyMessage ¶
func ErrOBSOLETE_ReceivedOpReplyMessage() Error
ErrOBSOLETE_ReceivedOpReplyMessage -- code 198, obsolete_ received op reply message
func ErrOBSOLETE_RecvStaleConfig ¶
func ErrOBSOLETE_RecvStaleConfig() Error
ErrOBSOLETE_RecvStaleConfig -- code 9996, obsolete_ recv stale config
func ErrOperationCannotBeBatched ¶
func ErrOperationCannotBeBatched() Error
ErrOperationCannotBeBatched -- code 151, operation cannot be batched
func ErrOperationFailed ¶
func ErrOperationFailed() Error
ErrOperationFailed -- code 96, operation failed
func ErrOperationIncomplete ¶
func ErrOperationIncomplete() Error
ErrOperationIncomplete -- code 77, operation incomplete
func ErrOplogOperationUnsupported ¶
func ErrOplogOperationUnsupported() Error
ErrOplogOperationUnsupported -- code 62, oplog operation unsupported
func ErrOplogOutOfOrder ¶
func ErrOplogOutOfOrder() Error
ErrOplogOutOfOrder -- code 152, oplog out of order
func ErrOplogStartMissing ¶
func ErrOplogStartMissing() Error
ErrOplogStartMissing -- code 120, oplog start missing
func ErrOptionNotSupportedOnView ¶
func ErrOptionNotSupportedOnView() Error
ErrOptionNotSupportedOnView -- code 167, option not supported on view
func ErrOutOfDiskSpace ¶
func ErrOutOfDiskSpace() Error
ErrOutOfDiskSpace -- code 14031, out of disk space
func ErrOutdatedClient ¶
func ErrOutdatedClient() Error
ErrOutdatedClient -- code 101, outdated client
func ErrPooledConnectionsDropped ¶
func ErrPooledConnectionsDropped() Error
ErrPooledConnectionsDropped -- code 145, pooled connections dropped
func ErrPrimarySteppedDown ¶
func ErrPrimarySteppedDown() Error
ErrPrimarySteppedDown -- code 189, primary stepped down
func ErrPrivilegeNotFound ¶
func ErrPrivilegeNotFound() Error
ErrPrivilegeNotFound -- code 33, privilege not found
func ErrProducerConsumerQueueBatchTooLarge ¶
func ErrProducerConsumerQueueBatchTooLarge() Error
ErrProducerConsumerQueueBatchTooLarge -- code 247, producer consumer queue batch too large
func ErrProducerConsumerQueueEndClosed ¶
func ErrProducerConsumerQueueEndClosed() Error
ErrProducerConsumerQueueEndClosed -- code 248, producer consumer queue end closed
func ErrQueryFeatureNotAllowed ¶
func ErrQueryFeatureNotAllowed() Error
ErrQueryFeatureNotAllowed -- code 224, query feature not allowed
func ErrQueryPlanKilled ¶
func ErrQueryPlanKilled() Error
ErrQueryPlanKilled -- code 175, query plan killed
func ErrRLPInitializationFailed ¶
func ErrRLPInitializationFailed() Error
ErrRLPInitializationFailed -- code 131, rlp initialization failed
func ErrRPCProtocolNegotiationFailed ¶
func ErrRPCProtocolNegotiationFailed() Error
ErrRPCProtocolNegotiationFailed -- code 126, rpc protocol negotiation failed
func ErrRangeOverlapConflict ¶
func ErrRangeOverlapConflict() Error
ErrRangeOverlapConflict -- code 178, range overlap conflict
func ErrReadConcernMajorityNotAvailableYet ¶
func ErrReadConcernMajorityNotAvailableYet() Error
ErrReadConcernMajorityNotAvailableYet -- code 134, read concern majority not available yet
func ErrReadConcernMajorityNotEnabled ¶
func ErrReadConcernMajorityNotEnabled() Error
ErrReadConcernMajorityNotEnabled -- code 148, read concern majority not enabled
func ErrReentrancyNotAllowed ¶
func ErrReentrancyNotAllowed() Error
ErrReentrancyNotAllowed -- code 252, reentrancy not allowed
func ErrRemoteChangeDetected ¶
func ErrRemoteChangeDetected() Error
ErrRemoteChangeDetected -- code 36, remote change detected
func ErrRemoteOplogStale ¶
func ErrRemoteOplogStale() Error
ErrRemoteOplogStale -- code 138, remote oplog stale
func ErrRemoteResultsUnavailable ¶
func ErrRemoteResultsUnavailable() Error
ErrRemoteResultsUnavailable -- code 83, remote results unavailable
func ErrRemoteValidationError ¶
func ErrRemoteValidationError() Error
ErrRemoteValidationError -- code 25, remote validation error
func ErrReplicaSetMonitorRemoved ¶
func ErrReplicaSetMonitorRemoved() Error
ErrReplicaSetMonitorRemoved -- code 199, replica set monitor removed
func ErrReplicaSetNotFound ¶
func ErrReplicaSetNotFound() Error
ErrReplicaSetNotFound -- code 71, replica set not found
func ErrRetryChangeStream ¶
func ErrRetryChangeStream() Error
ErrRetryChangeStream -- code 234, retry change stream
func ErrRoleDataInconsistent ¶
func ErrRoleDataInconsistent() Error
ErrRoleDataInconsistent -- code 80, role data inconsistent
func ErrRoleModificationFailed ¶
func ErrRoleModificationFailed() Error
ErrRoleModificationFailed -- code 58, role modification failed
func ErrRolesNotRelated ¶
func ErrRolesNotRelated() Error
ErrRolesNotRelated -- code 32, roles not related
func ErrSSLHandshakeFailed ¶
func ErrSSLHandshakeFailed() Error
ErrSSLHandshakeFailed -- code 141, ssl handshake failed
func ErrSecondaryAheadOfPrimary ¶
func ErrSecondaryAheadOfPrimary() Error
ErrSecondaryAheadOfPrimary -- code 92, secondary ahead of primary
func ErrSessionTransferIncomplete ¶
func ErrSessionTransferIncomplete() Error
ErrSessionTransferIncomplete -- code 228, session transfer incomplete
func ErrShardKeyNotFound ¶
func ErrShardKeyNotFound() Error
ErrShardKeyNotFound -- code 61, shard key not found
func ErrShardKeyTooBig ¶
func ErrShardKeyTooBig() Error
ErrShardKeyTooBig -- code 13334, shard key too big
func ErrShardingStateNotInitialized ¶
func ErrShardingStateNotInitialized() Error
ErrShardingStateNotInitialized -- code 203, sharding state not initialized
func ErrShutdownInProgress ¶
func ErrShutdownInProgress() Error
ErrShutdownInProgress -- code 91, shutdown in progress
func ErrSnapshotTooOld ¶
func ErrSnapshotTooOld() Error
ErrSnapshotTooOld -- code 239, snapshot too old
func ErrSnapshotUnavailable ¶
func ErrSnapshotUnavailable() Error
ErrSnapshotUnavailable -- code 246, snapshot unavailable
func ErrSocketException ¶
func ErrSocketException() Error
ErrSocketException -- code 9001, socket exception
func ErrSplitFailed_OBSOLETE ¶
func ErrSplitFailed_OBSOLETE() Error
ErrSplitFailed_OBSOLETE -- code 88, split failed_obsolete
func ErrStaleChunkHistory ¶
func ErrStaleChunkHistory() Error
ErrStaleChunkHistory -- code 250, stale chunk history
func ErrStaleClusterTime ¶
func ErrStaleClusterTime() Error
ErrStaleClusterTime -- code 209, stale cluster time
func ErrStaleDbVersion ¶
func ErrStaleDbVersion() Error
ErrStaleDbVersion -- code 249, stale db version
func ErrStaleShardVersion ¶
func ErrStaleShardVersion() Error
ErrStaleShardVersion -- code 63, stale shard version
func ErrSymbolNotFound ¶
func ErrSymbolNotFound() Error
ErrSymbolNotFound -- code 130, symbol not found
func ErrTimeProofMismatch ¶
func ErrTimeProofMismatch() Error
ErrTimeProofMismatch -- code 204, time proof mismatch
func ErrTooManyDocumentSequences ¶
func ErrTooManyDocumentSequences() Error
ErrTooManyDocumentSequences -- code 233, too many document sequences
func ErrTooManyMatchingDocuments ¶
func ErrTooManyMatchingDocuments() Error
ErrTooManyMatchingDocuments -- code 170, too many matching documents
func ErrTransactionCommitted ¶
func ErrTransactionCommitted() Error
ErrTransactionCommitted -- code 256, transaction committed
func ErrTransactionTooLarge ¶
func ErrTransactionTooLarge() Error
ErrTransactionTooLarge -- code 257, transaction too large
func ErrTransactionTooOld ¶
func ErrTransactionTooOld() Error
ErrTransactionTooOld -- code 225, transaction too old
func ErrTransportSessionClosed ¶
func ErrTransportSessionClosed() Error
ErrTransportSessionClosed -- code 172, transport session closed
func ErrTransportSessionNotFound ¶
func ErrTransportSessionNotFound() Error
ErrTransportSessionNotFound -- code 173, transport session not found
func ErrTransportSessionUnknown ¶
func ErrTransportSessionUnknown() Error
ErrTransportSessionUnknown -- code 174, transport session unknown
func ErrUnknownFeatureCompatibilityVersion ¶
func ErrUnknownFeatureCompatibilityVersion() Error
ErrUnknownFeatureCompatibilityVersion -- code 258, unknown feature compatibility version
func ErrUnknownReplWriteConcern ¶
func ErrUnknownReplWriteConcern() Error
ErrUnknownReplWriteConcern -- code 79, unknown repl write concern
func ErrUnrecoverableRollbackError ¶
func ErrUnrecoverableRollbackError() Error
ErrUnrecoverableRollbackError -- code 127, unrecoverable rollback error
func ErrUnsupportedFormat ¶
func ErrUnsupportedFormat() Error
ErrUnsupportedFormat -- code 12, unsupported format
func ErrUpdateOperationFailed ¶
func ErrUpdateOperationFailed() Error
ErrUpdateOperationFailed -- code 218, update operation failed
func ErrUserDataInconsistent ¶
func ErrUserDataInconsistent() Error
ErrUserDataInconsistent -- code 45, user data inconsistent
func ErrUserModificationFailed ¶
func ErrUserModificationFailed() Error
ErrUserModificationFailed -- code 35, user modification failed
func ErrViewDepthLimitExceeded ¶
func ErrViewDepthLimitExceeded() Error
ErrViewDepthLimitExceeded -- code 165, view depth limit exceeded
func ErrViewPipelineMaxSizeExceeded ¶
func ErrViewPipelineMaxSizeExceeded() Error
ErrViewPipelineMaxSizeExceeded -- code 195, view pipeline max size exceeded
func ErrWindowsPdhError ¶
func ErrWindowsPdhError() Error
ErrWindowsPdhError -- code 179, windows pdh error
func ErrWriteConcernFailed ¶
func ErrWriteConcernFailed() Error
ErrWriteConcernFailed -- code 64, write concern failed
func ErrWriteConcernLegacyOK ¶
func ErrWriteConcernLegacyOK() Error
ErrWriteConcernLegacyOK -- code 75, write concern legacy ok
func ErrZoneStillInUse ¶
func ErrZoneStillInUse() Error
ErrZoneStillInUse -- code 163, zone still in use
func FromMongoErr ¶
func FromMongoErr(queryError *mgo.QueryError) Error