Enum chill::Error [] [src]

pub enum Error {
    DatabaseExists(ErrorResponse),
    DocumentConflict(ErrorResponse),
    NotFound(ErrorResponse),
    Unauthorized(ErrorResponse),
    // some variants omitted
}

Contains information for an error originating from or propagated by Chill.

Variants

DatabaseExists(ErrorResponse)

The database already exists.

DocumentConflict(ErrorResponse)

A document with the same id already exists or the given revision is not the latest revision for the document.

NotFound(ErrorResponse)

The target resource—e.g., database, document, etc.—does not exist or is deleted.

Unauthorized(ErrorResponse)

The client lacks permission to complete the action.

Trait Implementations

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for Error
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

fn fmt(&self, f: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.