You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
446B

  1. error_chain! {
  2. foreign_links {
  3. Io(::std::io::Error);
  4. }
  5. errors {
  6. InvalidFrontMatter(name: String) {
  7. description("frontmatter is invalid")
  8. display("Front Matter of file '{}' is missing or is invalid", name)
  9. }
  10. InvalidConfig {
  11. description("invalid config")
  12. display("The config.toml is invalid or is using the wrong type for an argument")
  13. }
  14. }
  15. }