Class CouchbaseSearchResponseException
Exception thrown for a failed search query response if EnsureSucess is called.
Namespace: Couchbase.Search
Assembly: Couchbase.NetClient.dll
Syntax
public class CouchbaseSearchResponseException : Exception
Constructors
| Improve this Doc 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
| Improve this Doc 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 |