mdoc 0.3.0

Modern PDF creation through Markdown and LaTeX
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use thiserror::Error;

pub type Result<T, E = Error> = core::result::Result<T, E>;

#[derive(Debug, Error)]
pub enum Error {
    #[error(transparent)]
    Io(#[from] std::io::Error),

    #[error(transparent)]
    Tectonic(#[from] tectonic::Error),

    #[error(transparent)]
    Pandoc(#[from] crate::pandoc::PandocError),
}

unsafe impl Sync for Error {}