Lines Matching refs:Error
17 use anyhow::{Error, Result};
45 return Err(Error::msg("url is empty")); in validate()
53 return Err(Error::msg("branch and revision are both specified")); in validate()
58 return Err(Error::msg("branch is empty")); in validate()
63 return Err(Error::msg("revision is empty")); in validate()
467 return Err(Error::msg(format!("path {:?} not exists", self.path))); in validate()
472 return Err(Error::msg(format!("path {:?} is not a file", self.path))); in validate()
476 return Err(Error::msg(format!( in validate()
507 return Err(Error::msg("url is empty")); in validate()
513 return Err(Error::msg(format!( in validate()
519 return Err(Error::msg(format!("url {:?} is not a valid url", self.url))); in validate()