Custom Error implementation to allow for our own kind, along with
run-of-the-mill std::io::Error
s.
pub enum ErrorKind {
DependencyUndefinedError,
CyclicalDependencyError,
SolutionError,
ConfigError,
Other,
}
- DependencyUndefinedError: A stated dependency doesn't have an object telling us how to satisfy it.
- CyclicalDependencyError: a -> b and b -> a and neither is satisfied.
- SolutionError: Something went wrong in our script.
- ConfigError: Something is wrong with how you wrote the
config.toml
.
- Other: Other.
error | Easy formatting for errors as they come in.
|