Enum pandoc_filter_diagram::DiagramError[][src]

pub enum DiagramError {
    PikchrRenderError(String),
    Roadmap(RoadmapError),
    InvokeFailed(StringPathBufString),
    HelperFailed(StringPathBufStringString),
    IoError(Error),
}
Expand description

Possible errors for diagram filtering.

Variants

PikchrRenderError(String)

Tuple Fields

0: String

When rendering a pikchr, something went wrong.

Roadmap(RoadmapError)

Tuple Fields

When rendering a roadmap, something went wrong.

InvokeFailed(StringPathBufString)

Tuple Fields

0: String
2: String

Failed to invoke a program.

This Pandoc filter uses some helper programs to do some of its work. It failed to invoke such a helper program.

HelperFailed(StringPathBufStringString)

Tuple Fields

0: String
2: String
3: String

A helper program failed

The filter uses some helper programs to implement some of its functionality, for example the GraphViz dot program. This error means that the helper program failed (exit code was not zero).

This probably implies there’s something wrong in the filter. Please report this error.

IoError(Error)

Tuple Fields

0: Error

I/O error

The filter did some I/O, and it failed. This is a generic wrapper for any kind of I/O error.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.