Paul Campbell
58e991b2b7
Adds a layer around Repository to allow the use of a mock. Mock has still to be implemented.
9 lines
198 B
Rust
9 lines
198 B
Rust
#[derive(Debug, derive_more::Display)]
|
|
pub enum Error {
|
|
UnableToOpenRepo(String),
|
|
NoFetchRemoteFound,
|
|
Connect(String),
|
|
Fetch(String),
|
|
Lock,
|
|
}
|
|
impl std::error::Error for Error {}
|