forked from kemitix/git-next
20 lines
374 B
Rust
20 lines
374 B
Rust
#[derive(Debug, thiserror::Error)]
|
|
pub enum Error {
|
|
#[error("unable to open repo: {0}")]
|
|
UnableToOpenRepo(String),
|
|
|
|
#[error("no remote found")]
|
|
NoFetchRemoteFound,
|
|
|
|
#[error("remote connect: {0}")]
|
|
Connect(String),
|
|
|
|
#[error("prepare: {0}")]
|
|
Prepare(String),
|
|
|
|
#[error("receive: {0}")]
|
|
Receive(String),
|
|
|
|
#[error("lock")]
|
|
Lock,
|
|
}
|