2016-12-06 05:51:33 +00:00
|
|
|
|
|
|
|
error_chain! {
|
|
|
|
foreign_links {
|
|
|
|
Io(::std::io::Error);
|
|
|
|
}
|
|
|
|
|
|
|
|
errors {
|
2016-12-06 08:27:03 +00:00
|
|
|
InvalidFrontMatter(name: String) {
|
|
|
|
description("frontmatter is invalid")
|
|
|
|
display("Front Matter of file '{}' is missing or is invalid", name)
|
|
|
|
}
|
2016-12-06 06:55:17 +00:00
|
|
|
InvalidConfig {
|
|
|
|
description("invalid config")
|
|
|
|
display("The config.toml is invalid or is using the wrong type for an argument")
|
|
|
|
}
|
2016-12-06 05:51:33 +00:00
|
|
|
}
|
|
|
|
}
|