Every exception Markdown Word throws, in one place. The one to catch, and the advice that is about both libraries, is on Errors in general.
Word
| Exception | Means |
|---|---|
InvalidConfiguration |
the key half; the base for the next one |
UnknownConfigurationKey |
a key nothing reads |
InvalidConfigurationValue |
a key whose value is not what it is used as |
InvalidInput |
the base for input-shaped failures |
NothingToConvert |
no Markdown was given |
UnreadableFile |
the input is not a file |
UnreadableDocument |
the bytes are not a Word document |
MalformedDocument |
it is one, and it is broken |
FileNotWritable |
the target cannot be written |
TemplateNotFound |
template_file: names nothing |
NoContentControl |
--require-control, and the template has none |
MalformedTheme |
a theme file is not shaped like one |
ThemeNotFound |
a theme name resolves to nothing — the message lists the ones that do |
UnknownStyleSlot |
styles: names a slot that does not exist |
UnsupportedElement |
something in the document cannot be drawn |
UnsupportedImageFormat |
see Images |
Every example on this page was built by the library it documents while this page was built. This page as Markdown.