Enum depgraph::Error
[−]
[src]
pub enum Error { Cycle, DuplicateFile, MissingFile(PathBuf), BuildFailed(String), }
Any error that can occur during build
One area for improvement is allowing more data to be present in an error, and possibly making
BuildFailed
use a trait object (impl std::Error) to be more general. Suggestions welcome!
Variants
Cycle
Cyclic dependencies detected
DuplicateFile
Same file added more than once
MissingFile(PathBuf)
A file that should either be present or be crated during build is missing.
BuildFailed(String)
The supplied build script returned an error