Enum mdbook_epub::Error
source · pub enum Error {
Show 20 variants
IncompatibleVersion(String, String),
EpubDocCreate(String),
TemplateParse,
ContentFileNotFound(String),
AssetFileNotFound(String),
AssetFile(PathBuf),
CssOpen(PathBuf),
OpenTemplate(PathBuf),
RenderContext,
AssetOpen,
StylesheetRead,
EpubCheck,
Io(Error),
Book(Error),
Semver(SemVerError),
SemverReqParse(ReqParseError),
EpubBuilder(Error),
Render(RenderError),
TomlDeser(Error),
HttpError(Box<Error>),
}
Variants§
IncompatibleVersion(String, String)
EpubDocCreate(String)
TemplateParse
ContentFileNotFound(String)
AssetFileNotFound(String)
AssetFile(PathBuf)
CssOpen(PathBuf)
OpenTemplate(PathBuf)
RenderContext
AssetOpen
StylesheetRead
EpubCheck
Io(Error)
Book(Error)
Semver(SemVerError)
SemverReqParse(ReqParseError)
EpubBuilder(Error)
Render(RenderError)
TomlDeser(Error)
HttpError(Box<Error>)
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<RenderError> for Error
impl From<RenderError> for Error
source§fn from(source: RenderError) -> Self
fn from(source: RenderError) -> Self
Converts to this type from the input type.
source§impl From<ReqParseError> for Error
impl From<ReqParseError> for Error
source§fn from(source: ReqParseError) -> Self
fn from(source: ReqParseError) -> Self
Converts to this type from the input type.
source§impl From<SemVerError> for Error
impl From<SemVerError> for Error
source§fn from(source: SemVerError) -> Self
fn from(source: SemVerError) -> Self
Converts to this type from the input type.