A list of statuses indicating various results and/or errors for Couchbase Lite
operations
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax [SerializableAttribute]
public enum StatusCode
Members
| Member name | Value | Description |
---|
| Unknown | -1 |
Unknown result (should not be used)
|
| Reserved | 0 |
For internal use
|
| Ok | 200 |
Successful completion (HTTP compliant)
|
| Created | 201 |
A new item was created (HTTP compliant)
|
| Accepted | 202 |
The operation has been successfully queued for execution (HTTP compliant)
|
| NotModified | 304 |
The requested action is redundant and doesn't need to execute (HTTP compliant)
|
| BadRequest | 400 |
An invalid request was received (HTTP compliant)
|
| Unauthorized | 401 |
The requesting user is not authorized to perform the action (HTTP compliant)
|
| Forbidden | 403 |
The requested action is not allowed to be executed by any user (HTTP compliant)
|
| NotFound | 404 |
The requested item does not appear to exist (HTTP compliant)
|
| MethodNotAllowed | 405 |
The wrong HTTP method was used when requesting an action to be performed (HTTP compliant)
|
| NotAcceptable | 406 |
The server is unable to return an acceptable MIME type as specified in the HTTP headers (HTTP compliant)
|
| RequestTimeout | 408 |
A request was unable to be processed in a timely fashion
|
| Conflict | 409 |
The submitted revision put a document into a conflict state (HTTP compliant)
|
| PreconditionFailed | 412 |
A condition of the requested action was violated (e.g. Trying to create a DB when it already exists) (HTTP compliant)
|
| UnsupportedType | 415 |
The server does not support this type of file (HTTP compliant)
|
| BadEncoding | 490 |
The encoding type for the attachment on a revision is not supported
|
| BadAttachment | 491 |
The received attachment is corrupt
|
| AttachmentNotFound | 492 |
The attachment for the revision was not received
|
| BadJson | 493 |
The received JSON was invalid
|
| BadId | 494 |
A parameter was received that doesn't make sense for the action
|
| BadParam | 495 |
An invalid parameter was received
|
| Deleted | 496 |
The document has been deleted
|
| InvalidStorageType | 497 |
The storage type requested for a database is not valid
|
| InternalServerError | 500 |
Internal logic error (i.e. library problem) (HTTP compliant)
|
| NotImplemented | 501 |
The logic has not been implemented yet (HTTP compliant)
|
| BadChangesFeed | 587 |
An invalid changes feed was received from Sync Gateway
|
| ChangesFeedTruncated | 588 |
The changes feed from Sync Gateway was cut off
|
| UpStreamError | 589 |
An error was received fro Sync Gateway
|
| DbError | 590 |
A database error occurred (file locked, etc)
|
| CorruptError | 591 |
A corrupt database was found
|
| AttachmentError | 592 |
A problem with an attachment was found
|
| CallbackError | 593 |
A callback failed
|
| Exception | 594 |
Releated to 500, but not HTTP compliant
|
| DbBusy | 595 |
The database file is busy, and cannot process changes at the moment
|
See Also