ptex 0.3.0

High-level Ptex bindings over ptex-sys
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// The main Error type returns either error Messages or FileIO errors.
#[derive(Debug, Clone, PartialEq, thiserror::Error)]
pub enum Error {
    /// An error occurred when reading from a Pathbuf.
    #[error("{0:?}: {1:?}")]
    FileIO(std::path::PathBuf, String),

    /// General error messages.
    #[error("{0:?}")]
    Message(String),
}