Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class CouchbaseException

Base exception for all exceptions generated or handled by the Couchbase SDK.

Inheritance
object
Exception
CouchbaseException
AuthenticationFailureException
BucketMissingException
ActiveTransactionRecordEntryNotFoundException
ActiveTransactionRecordNotFoundException
AttemptException
TransactionOperationFailedException
TransactionFailedException
CircuitBreakerException
CompilationFailureException
DatasetExistsException
DatasetNotFoundException
DataverseExistsException
DataverseNotFoundException
JobQueueFullException
LinkExistsException
LinkNotFoundException
BucketNotFoundException
CasMismatchException
CollectionNotFoundException
ConnectException
DecodingFailureException
EncodingFailureException
FeatureNotAvailableException
IndexExistsException
IndexFailureException
IndexNotFoundException
InternalServerFailureException
InvalidArgumentException
InvalidIndexException
DocumentNotLockedException
ParsingFailureException
PlanningFailureException
RequestCanceledException
ScopeNotFoundException
StreamAlreadyReadException
TemporaryFailureException
TimeoutException
UnsupportedException
ErrorMapRetryException
SocketClosedException
QuotaLimitedException
RateLimitedException
CouchbaseException<TContext>
InvalidConfigurationException
CollectionOutdatedException
KvErrorMapRetryException
NotMyVBucketException
BucketExistsException
BucketIsNotFlushableException
BucketNotFoundException
CollectionExistsException
CollectionNotFoundException
ScopeExistsException
EventingFunctionCompilationFailureException
EventingFunctionDeployedException
EventingFunctionIdenticalKeyspaceException
EventingFunctionNotBootstrappedException
EventingFunctionNotDeployedException
EventingFunctionNotFoundException
FunctionNotDeployedException
SearchIndexNotFound
UserNotFoundException
DesignDocumentExistsException
DesignDocumentNotFoundException
NetworkErrorException
NodeNotAvailableException
ServiceMissingException
ServiceNotAvailableException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.TargetSite
Exception.Message
Exception.Data
Exception.InnerException
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.StackTrace
Exception.SerializeObjectState
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase
Assembly: Couchbase.NetClient.dll
Syntax
public class CouchbaseException : Exception, ISerializable

Constructors

View Source

CouchbaseException()

Declaration
public CouchbaseException()
View Source

CouchbaseException(IErrorContext)

Declaration
public CouchbaseException(IErrorContext context)
Parameters
Type Name Description
IErrorContext context
View Source

CouchbaseException(IErrorContext, string)

Declaration
public CouchbaseException(IErrorContext context, string message)
Parameters
Type Name Description
IErrorContext context
string message
View Source

CouchbaseException(string)

Declaration
public CouchbaseException(string message)
Parameters
Type Name Description
string message
View Source

CouchbaseException(string, Exception?)

Declaration
public CouchbaseException(string message, Exception? innerException)
Parameters
Type Name Description
string message
Exception innerException

Properties

View Source

Context

Declaration
public IErrorContext? Context { get; set; }
Property Value
Type Description
IErrorContext

Methods

View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
Exception.ToString()

Implements

ISerializable

Extension Methods

ExceptionExtensions.ResolveRetryReason(CouchbaseException)
ErrorClassExtensions.Classify(Exception)
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.