package
0.1.4-rc.1
Repository: https://github.com/containerum/events-api.git
Documentation: pkg.go.dev

# Functions

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

# Structs

No description provided by the author