Couchbase .NET SDK | 3.7.2
Search Results for

    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.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Couchbase
    Assembly: Couchbase.NetClient.dll
    Syntax
    public class CouchbaseException : Exception, ISerializable

    Constructors

    | Edit this page View Source

    CouchbaseException()

    Declaration
    public CouchbaseException()
    | Edit this page View Source

    CouchbaseException(IErrorContext)

    Declaration
    public CouchbaseException(IErrorContext context)
    Parameters
    Type Name Description
    IErrorContext context
    | Edit this page View Source

    CouchbaseException(IErrorContext, string)

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

    CouchbaseException(string)

    Declaration
    public CouchbaseException(string message)
    Parameters
    Type Name Description
    string message
    | Edit this page View Source

    CouchbaseException(string, Exception?)

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

    Properties

    | Edit this page View Source

    Context

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

    Methods

    | Edit this page 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)
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.