Enum pandoc::PandocError [] [src]

pub enum PandocError {
    IoErr(Error),
    Err(Output),
    NoOutputSpecified,
    NoInputSpecified,
    PandocNotFound,
}

Possible errors that can occur before or during pandoc execution

Variants

IoErr(Error)

some kind of IO-Error

Err(Output)

pandoc execution failed, look at the stderr output

NoOutputSpecified

forgot to specify an output file

NoInputSpecified

forgot to specify any input files

PandocNotFound

pandoc executable not found

Trait Implementations

impl From<Error> for PandocError
[src]

fn from(err: Error) -> Self

Performs the conversion.

impl Debug for PandocError
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.