Class CouchbaseSearchResponseException
Exception thrown for a failed search query response if EnsureSucess is called.
Implements
Inherited Members
Namespace: Couchbase.Search
Assembly: Couchbase.NetClient.dll
Syntax
public class CouchbaseSearchResponseException : Exception, ISerializable
Constructors
| Edit this page View SourceCouchbaseSearchResponseException(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. |
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
| Edit this page View SourceErrors
Errors returned from Couchbase.
Declaration
public IReadOnlyCollection<string> Errors { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<string> |
Status
SearchStatus returned from Couchbase.
Declaration
public SearchStatus Status { get; }
Property Value
Type | Description |
---|---|
SearchStatus |