pub enum ErrorKind {
Msg(String),
TomlQuery(ErrorKind),
Io(Error),
HandlebarsRender(RenderError),
HandlebarsTemplate(Box<TemplateError>),
Utf8(FromUtf8Error),
SerdeJson(Error),
Subprocess(String, Output),
ParseError(usize, usize, String),
ReservedFilenameError(PathBuf),
// some variants omitted
}
A convenient variant for String.
A wrapper around std::io::Error
HandlebarsRender(RenderError)
Handlebars rendering failed
HandlebarsTemplate(Box<TemplateError>)
Unable to parse the template
A subprocess exited with an unsuccessful return code.
An error was encountered while parsing the SUMMARY.md
file.
The user tried to use a reserved filename.
A string describing the error kind.
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Converts the given value to a String
. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static