spatialrust_sync/
error.rs1pub type SyncResult<T> = Result<T, SyncError>;
5
6#[derive(Debug, thiserror::Error)]
8pub enum SyncError {
9 #[error("invalid sync configuration: {0}")]
11 InvalidConfiguration(String),
12 #[error("missing `{0}`")]
14 #[allow(dead_code)]
15 Missing(String),
16 #[error("no transform path from `{from}` to `{to}`")]
18 NoTransformPath {
19 from: String,
21 to: String,
23 },
24 #[error(transparent)]
26 Records(#[from] spatialrust_records::RecordsError),
27 #[error(transparent)]
29 Spatial(#[from] spatialrust_core::SpatialError),
30 #[error("IO error: {0}")]
32 Io(String),
33 #[error("MCAP error: {0}")]
35 Mcap(String),
36}