Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
#[derive(Debug, thiserror::Error)]
pub enum Error {
#[error("Migration error: {0}")]
Migration(#[from] diesel_migrations::MigrationError),
#[error("r2d2 error: {0}")]
R2D2(#[from] r2d2::Error),
#[error("diesel error: {0}")]
Diesel(#[from] diesel::result::Error),
#[error("diesel connect error: {0}")]
Connect(#[from] diesel::ConnectionError),
#[error("internal error: {0}")]
Internal(#[from] anyhow::Error),
}
pub type Result<T> = std::result::Result<T, Error>;