#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[non_exhaustive]
pub enum GeometryDiagnosticKind {
InvalidPath,
UnsupportedPath,
UnrepresentablePath,
InvalidGeometry,
UnsupportedShapeTemplate,
UnsupportedLineType,
MissingLinePath,
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct GeometryDiagnostic {
pub source_offset: Option<usize>,
pub object_uuid: String,
pub kind: GeometryDiagnosticKind,
}