use hypothesis::errors::HypothesisError;
use thiserror::Error;
#[derive(Debug, Error)]
pub enum Apologize {
#[error("You haven't tagged anything as {tag:?} yet.")]
TagNotFound { tag: String },
#[error("Couldn't find an annotation with ID {id:?}")]
AnnotationNotFound { id: String },
#[error("Couldn't access group {id:?}: {error:?}. The Group ID can be found in the URL of the group: https://hypothes.is/groups/<group_id>/<group_name>")]
GroupNotFound { id: String, error: HypothesisError },
#[error("I'm a coward. Doing nothing.")]
DoingNothing,
#[error("Homeless: $HOME not set")]
Homeless,
#[error("SearchError: Search failed")]
SearchError,
#[error("ConfigError: {message:?}")]
ConfigError { message: String },
#[error("KBError: {message:?}")]
KBError { message: String },
#[error("EditorError")]
EditorError,
#[error("OutOfCheeseError: {message:?}\nRedo from start.")]
OutOfCheeseError { message: String },
}