docx-rs 0.4.20

A .docx file writer with Rust/WebAssembly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

#[derive(Error, Debug)]
pub enum TypeError {
    #[error("Failed to convert str to enum.")]
    FromStrError,
    #[error("Failed to convert str. This is because {0} is unsupported")]
    Unsupported(String),
    #[error("Unknown error.")]
    Unknown,
}