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

geo-engine / geoengine / 12633507883

06 Jan 2025 01:36PM UTC coverage: 90.602% (+0.04%) from 90.56%
12633507883

Pull #1006

github

web-flow
Merge a30730161 into 071ba4e63
Pull Request #1006: Migrate-pro-api

537 of 577 new or added lines in 10 files covered. (93.07%)

221 existing lines in 12 files now uncovered.

133569 of 147424 relevant lines covered (90.6%)

54601.07 hits per line

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

0.0
/services/src/layers/error.rs
1
use super::listing::LayerCollectionId;
2
use geoengine_datatypes::dataset::LayerId;
3
use snafu::Snafu;
4

UNCOV
5
#[derive(Debug, Snafu)]
×
6
#[snafu(
7
    visibility(pub(crate)),
8
    context(suffix(false)) /* disables default `Snafu` suffix */,
9
)]
10
pub enum LayerDbError {
11
    #[snafu(display("There is no layer with the given id {id}"))]
12
    NoLayerForGivenId { id: LayerId },
13

14
    #[snafu(display("There is no layer collection with the given id {id}"))]
15
    NoLayerCollectionForGivenId { id: LayerCollectionId },
16

17
    #[snafu(display("There is no layer {layer} in collection {collection}"))]
18
    NoLayerForGivenIdInCollection {
19
        collection: LayerCollectionId,
20
        layer: LayerId,
21
    },
22

23
    #[snafu(display("There is no collection {collection} in collection {parent}"))]
24
    NoCollectionForGivenIdInCollection {
25
        collection: LayerCollectionId,
26
        parent: LayerCollectionId,
27
    },
28

29
    #[snafu(display("You must not remove the root collection"))]
30
    CannotRemoveRootCollection,
31
}
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