summaryrefslogtreecommitdiff
path: root/src/error.rs
blob: 1e750e570cc3742cdfe3f087a0ac46c9aa532144 (plain)
1
2
3
4
5
6
7
8
use thiserror::Error;

/// Define all the kinds of errors any part of this crate can return.
#[derive(Debug, Error)]
pub enum ObnamError {
    #[error("Can't find backup '{0}'")]
    UnknownGeneration(String),
}