sigmd 0.1.0

Windows API signature metadata
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// Errors from the compiler.
#[derive(thiserror::Error, Debug)]
pub enum Error {
    /// Failure inside the clang wrapper.
    #[error(transparent)]
    Clang(#[from] crate::cli::compiler::clang::Error),

    /// An entity is missing an expected property.
    #[error("entity has no {property} ({entity})")]
    UndefinedProperty {
        property: &'static str,
        entity: String,
    },

    /// UUID parse error.
    #[error(transparent)]
    Uuid(#[from] uuid::Error),
}