/// An error representing the fact that the repository has been stopped
pub struct Stopped;
impl std::fmt::Display for Stopped {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "the Samod instance has been stopped")
}
}
impl std::fmt::Debug for Stopped {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "{self}")
}
}
impl std::error::Error for Stopped {}