pub enum RouchError {
NotFound(String),
Conflict,
BadRequest(String),
Unauthorized,
Forbidden(String),
InvalidRev(String),
MissingId,
DatabaseExists(String),
DatabaseError(String),
Io(Error),
Json(Error),
}Expand description
All errors that RouchDB can produce.
Variants§
NotFound(String)
Conflict
BadRequest(String)
Forbidden(String)
InvalidRev(String)
MissingId
DatabaseExists(String)
DatabaseError(String)
Io(Error)
Json(Error)
Trait Implementations§
Source§impl Debug for RouchError
impl Debug for RouchError
Source§impl Display for RouchError
impl Display for RouchError
Source§impl Error for RouchError
impl Error for RouchError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for RouchError
impl From<Error> for RouchError
Auto Trait Implementations§
impl Freeze for RouchError
impl !RefUnwindSafe for RouchError
impl Send for RouchError
impl Sync for RouchError
impl Unpin for RouchError
impl !UnwindSafe for RouchError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more