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.

22 lines
599B

  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. FolderExists(name: String) {
  15. description("folder already exists")
  16. display("Folder '{}' already exists.", name)
  17. }
  18. }
  19. }