zola/src/errors.rs

20 lines
337 B
Rust
Raw Normal View History

use tera;
2016-12-06 05:51:33 +00:00
error_chain! {
links {
Tera(tera::Error, tera::ErrorKind);
}
2016-12-06 05:51:33 +00:00
foreign_links {
Io(::std::io::Error);
}
errors {
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
}
}