epub2mdbook 0.17.0

A tool to convert EPUB files to MDBook format
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
    #[error("IO error: {0}")]
    Io(#[from] std::io::Error),

    #[error("EPUB error: {0}")]
    Epub(#[from] epub::doc::DocError),

    #[error("Invalid UTF-8: {0}")]
    Utf8(#[from] std::string::FromUtf8Error),

    #[error("{0} is not a file")]
    NotAFile(String),
}