Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class CouchbaseSearchResponseException

Exception thrown for a failed search query response if EnsureSucess is called.

Inheritance
object
Exception
CouchbaseSearchResponseException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.ToString()
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.Search
Assembly: Couchbase.NetClient.dll
Syntax
public class CouchbaseSearchResponseException : Exception, ISerializable

Constructors

View Source

CouchbaseSearchResponseException(string, SearchStatus, IList<string>)

Creates a new CouchbaseSearchResponseException.

Declaration
public CouchbaseSearchResponseException(string message, SearchStatus status, IList<string> errors)
Parameters
Type Name Description
string message

Error message.

SearchStatus status

SearchStatus returned from Couchbase.

IList<string> errors

Errors returned from Couchbase.

View Source

CouchbaseSearchResponseException(string, SearchStatus, IList<string>, Exception)

Creates a new CouchbaseSearchResponseException.

Declaration
public CouchbaseSearchResponseException(string message, SearchStatus status, IList<string> errors, Exception innerException)
Parameters
Type Name Description
string message

Error message.

SearchStatus status

SearchStatus returned from Couchbase.

IList<string> errors

Errors returned from Couchbase.

Exception innerException

Exception included in the response from Couchbase.

Properties

View Source

Errors

Errors returned from Couchbase.

Declaration
public IReadOnlyCollection<string> Errors { get; }
Property Value
Type Description
IReadOnlyCollection<string>
View Source

Status

SearchStatus returned from Couchbase.

Declaration
public SearchStatus Status { get; }
Property Value
Type Description
SearchStatus

Implements

ISerializable

Extension Methods

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