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

Cyclic dependencies detected

Same file added more than once

A file that should either be present or be crated during build is missing.

The supplied build script returned an error

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.