present 0.2.3

Interpolate the standard output of arbitrary shell scripts into your markdown files
Documentation
use crate::common::*;

/// Present's internal error type
#[derive(Debug, Snafu)]
#[snafu(visibility(pub(crate)))]
pub enum Error {
  #[snafu(display(
    "Program {} failed to execute with message: {}",
    program,
    message
  ))]
  Command { program: String, message: String },

  #[snafu(context(false), display("IO Error: {}", source))]
  Io { source: io::Error },

  #[snafu(display("Lex Error: {}", message))]
  LexError { message: String },

  #[snafu(display("Path does not exist: {}", path.display()))]
  PathDoesNotExist { path: PathBuf },

  #[snafu(context(false), display("Utf8 Error: {}", source))]
  Utf8 { source: std::string::FromUtf8Error },

  #[snafu(context(false), display("Walkdir Error: {}", source))]
  Walkdir { source: walkdir::Error },
}