[][src]Module hm::hmerror

Custom Error implementation to allow for our own kind, along with run-of-the-mill std::io::Errors.

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. The offending object is the tippy-top of the chain.
  • SolutionError: Something went wrong in our script.
  • ConfigError: Something is wrong with how you wrote the config.toml.
  • Other: Other.

Enums

ErrorKind
HMError

Functions

error

Easy formatting for errors as they come in.

Type Definitions

Result