Fix executor panic (fix #653)

This commit is contained in:
Roey Darwish Dror
2021-02-27 06:41:55 +02:00
parent 23d9a5bf63
commit 5da219ed69
3 changed files with 9 additions and 4 deletions

View File

@@ -22,6 +22,10 @@ pub enum TopgradeError {
#[error("A step failed")]
pub struct StepFailed;
#[derive(Error, Debug)]
#[error("Dry running")]
pub struct DryRun();
#[derive(Error, Debug)]
#[error("{0}")]
pub struct SkipStep(pub String);