Struct couchdb::ErrorResponse
[−]
[src]
pub struct ErrorResponse { pub error: String, pub reason: String, // some fields omitted }
Response content from the CouchDB server in case of error.
Fields
error | Error string returned by CouchDB Server. This is the high-level name of the error—e.g., “file_exists”. |
reason | Reason string returned by CouchDB Server. This is a low-level description of the error—e.g., “The database could not be created, the file already exists.” |