mongerr

package
v0.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 ErrBadValue

func ErrBadValue() Error

ErrBadValue -- code 2, bad value

func ErrBalancerInterrupted

func ErrBalancerInterrupted() Error

ErrBalancerInterrupted -- code 194, balancer interrupted

func ErrBrokenPromise

func ErrBrokenPromise() Error

ErrBrokenPromise -- code 245, broken promise

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 ErrCannotSplit

func ErrCannotSplit() Error

ErrCannotSplit -- code 87, cannot split

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 ErrChunkTooBig

func ErrChunkTooBig() Error

ErrChunkTooBig -- code 153, chunk too big

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 ErrCommandFailed

func ErrCommandFailed() Error

ErrCommandFailed -- code 125, command failed

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 ErrCursorInUse

func ErrCursorInUse() Error

ErrCursorInUse -- code 143, cursor in use

func ErrCursorKilled

func ErrCursorKilled() Error

ErrCursorKilled -- code 237, cursor killed

func ErrCursorNotFound

func ErrCursorNotFound() Error

ErrCursorNotFound -- code 43, cursor not found

func ErrDBPathInUse

func ErrDBPathInUse() Error

ErrDBPathInUse -- code 98, db path in use

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 ErrDuplicateKey

func ErrDuplicateKey() Error

ErrDuplicateKey -- code 11000, duplicate key

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 ErrFailedToParse

func ErrFailedToParse() Error

ErrFailedToParse -- code 9, failed to parse

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 ErrFileNotOpen

func ErrFileNotOpen() Error

ErrFileNotOpen -- code 38, file not 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 ErrHostNotFound

func ErrHostNotFound() Error

ErrHostNotFound -- code 7, host not found

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 ErrIndexModified

func ErrIndexModified() Error

ErrIndexModified -- code 221, index modified

func ErrIndexNotFound

func ErrIndexNotFound() Error

ErrIndexNotFound -- code 27, index not found

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 ErrInternalError

func ErrInternalError() Error

ErrInternalError -- code 1, internal error

func ErrInternalErrorNotSupported

func ErrInternalErrorNotSupported() Error

ErrInternalErrorNotSupported -- code 235, internal error not supported

func ErrInterrupted

func ErrInterrupted() Error

ErrInterrupted -- code 11601, interrupted

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 ErrInvalidBSON

func ErrInvalidBSON() Error

ErrInvalidBSON -- code 22, invalid bson

func ErrInvalidDBRef

func ErrInvalidDBRef() Error

ErrInvalidDBRef -- code 55, invalid db ref

func ErrInvalidIdField

func ErrInvalidIdField() Error

ErrInvalidIdField -- code 53, invalid id field

func ErrInvalidIndexSpecificationOption

func ErrInvalidIndexSpecificationOption() Error

ErrInvalidIndexSpecificationOption -- code 197, invalid index specification option

func ErrInvalidLength

func ErrInvalidLength() Error

ErrInvalidLength -- code 16, invalid length

func ErrInvalidNamespace

func ErrInvalidNamespace() Error

ErrInvalidNamespace -- code 73, invalid namespace

func ErrInvalidOptions

func ErrInvalidOptions() Error

ErrInvalidOptions -- code 72, invalid options

func ErrInvalidPath

func ErrInvalidPath() Error

ErrInvalidPath -- code 30, invalid path

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 ErrInvalidUUID

func ErrInvalidUUID() Error

ErrInvalidUUID -- code 207, invalid uuid

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 ErrKeyNotFound

func ErrKeyNotFound() Error

ErrKeyNotFound -- code 211, key not found

func ErrKeyTooLong

func ErrKeyTooLong() Error

ErrKeyTooLong -- code 17280, key too long

func ErrLinearizableReadConcernError

func ErrLinearizableReadConcernError() Error

ErrLinearizableReadConcernError -- code 187, linearizable read concern error

func ErrLockBusy

func ErrLockBusy() Error

ErrLockBusy -- code 46, lock busy

func ErrLockFailed

func ErrLockFailed() Error

ErrLockFailed -- code 107, lock failed

func ErrLockNotFound

func ErrLockNotFound() Error

ErrLockNotFound -- code 128, lock not found

func ErrLockStateChangeFailed

func ErrLockStateChangeFailed() Error

ErrLockStateChangeFailed -- code 129, lock state change failed

func ErrLockTimeout

func ErrLockTimeout() Error

ErrLockTimeout -- code 24, lock timeout

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 ErrMustDowngrade

func ErrMustDowngrade() Error

ErrMustDowngrade -- code 229, must downgrade

func ErrMustUpgrade

func ErrMustUpgrade() Error

ErrMustUpgrade -- code 158, must upgrade

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 ErrNoSuchKey

func ErrNoSuchKey() Error

ErrNoSuchKey -- code 4, no such key

func ErrNoSuchSession

func ErrNoSuchSession() Error

ErrNoSuchSession -- code 206, no such session

func ErrNoSuchTransaction

func ErrNoSuchTransaction() Error

ErrNoSuchTransaction -- code 251, no such transaction

func ErrNodeNotElectable

func ErrNodeNotElectable() Error

ErrNodeNotElectable -- code 104, node not electable

func ErrNodeNotFound

func ErrNodeNotFound() Error

ErrNodeNotFound -- code 74, node not found

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 ErrNotMaster

func ErrNotMaster() Error

ErrNotMaster -- code 10107, not master

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 ErrNotSecondary

func ErrNotSecondary() Error

ErrNotSecondary -- code 95, not 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 ErrOK

func ErrOK() Error

ErrOK -- code 0, ok

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 ErrOverflow

func ErrOverflow() Error

ErrOverflow -- code 15, overflow

func ErrPathNotViable

func ErrPathNotViable() Error

ErrPathNotViable -- code 28, path not viable

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 ErrProtocolError

func ErrProtocolError() Error

ErrProtocolError -- code 17, protocol error

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 ErrRoleNotFound

func ErrRoleNotFound() Error

ErrRoleNotFound -- code 31, role not found

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 ErrShardNotFound

func ErrShardNotFound() Error

ErrShardNotFound -- code 70, shard not found

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 ErrStaleConfig

func ErrStaleConfig() Error

ErrStaleConfig -- code 13388, stale config

func ErrStaleDbVersion

func ErrStaleDbVersion() Error

ErrStaleDbVersion -- code 249, stale db version

func ErrStaleEpoch

func ErrStaleEpoch() Error

ErrStaleEpoch -- code 150, stale epoch

func ErrStaleShardVersion

func ErrStaleShardVersion() Error

ErrStaleShardVersion -- code 63, stale shard version

func ErrStaleTerm

func ErrStaleTerm() Error

ErrStaleTerm -- code 135, stale term

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 ErrTooManyLocks

func ErrTooManyLocks() Error

ErrTooManyLocks -- code 208, too many locks

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 ErrTypeMismatch

func ErrTypeMismatch() Error

ErrTypeMismatch -- code 14, type mismatch

func ErrUnauthorized

func ErrUnauthorized() Error

ErrUnauthorized -- code 13, unauthorized

func ErrUnknownError

func ErrUnknownError() Error

ErrUnknownError -- code 8, unknown error

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 ErrUserNotFound

func ErrUserNotFound() Error

ErrUserNotFound -- code 11, user not found

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 ErrWriteConflict

func ErrWriteConflict() Error

ErrWriteConflict -- code 112, write conflict

func ErrZLibError

func ErrZLibError() Error

ErrZLibError -- code 147, z lib error

func ErrZoneNotFound

func ErrZoneNotFound() Error

ErrZoneNotFound -- code 177, zone not found

func ErrZoneStillInUse

func ErrZoneStillInUse() Error

ErrZoneStillInUse -- code 163, zone still in use

func FromMongoErr

func FromMongoErr(queryError *mgo.QueryError) Error

func (Error) Error

func (err Error) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL