• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

geo-engine / geoengine / 10178074589

31 Jul 2024 09:34AM UTC coverage: 91.068% (+0.4%) from 90.682%
10178074589

push

github

web-flow
Merge pull request #973 from geo-engine/remove-XGB-update-toolchain

Remove-XGB-update-toolchain

81 of 88 new or added lines in 29 files covered. (92.05%)

456 existing lines in 119 files now uncovered.

131088 of 143945 relevant lines covered (91.07%)

53581.03 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

42.86
/datatypes/src/primitives/error.rs
1
use crate::error::Error;
2
use arrow::error::ArrowError;
3
use snafu::prelude::*;
4

5
use super::TimeInstance;
6

UNCOV
7
#[derive(Debug, Snafu)]
×
8
#[snafu(visibility(pub(crate)))]
9
#[snafu(context(suffix(false)))] // disables default `Snafu` suffix
10
pub enum PrimitivesError {
11
    UnallowedEmpty,
12
    UnclosedPolygonRing,
13
    InvalidSpatialResolution {
14
        value: f64,
15
    },
16
    #[snafu(display("Arrow internal error: {:?}", source))]
17
    ArrowInternal {
18
        source: ArrowError,
19
    },
20
    InvalidConversion,
21

22
    #[snafu(display("Time instance must be between {} and {}, but is {}", min.inner(), max.inner(), is))]
23
    InvalidTimeInstance {
24
        min: TimeInstance,
25
        max: TimeInstance,
26
        is: i64,
27
    },
28
}
29

30
impl From<PrimitivesError> for Error {
31
    fn from(error: PrimitivesError) -> Self {
1✔
32
        Error::Primitives { source: error }
1✔
33
    }
1✔
34
}
35

36
impl From<ArrowError> for PrimitivesError {
37
    fn from(source: ArrowError) -> Self {
×
38
        PrimitivesError::ArrowInternal { source }
×
39
    }
×
40
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc