froodi 1.0.0-beta.5

An ergonomic Rust IoC container
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[derive(thiserror::Error, Debug)]
pub enum ScopeErrorKind {
    #[error("Child registries not found in container")]
    NoChildRegistries,
    #[error("Non-skipped registries not found in container. Registries with skipped scope aren't used by default.")]
    NoNonSkippedRegistries,
}

#[derive(thiserror::Error, Debug)]
pub enum ScopeWithErrorKind {
    #[error("Child registries not found in container")]
    NoChildRegistries,
    #[error("Registry with name {name} and priority {priority} not found in container")]
    NoChildRegistriesWithScope { name: &'static str, priority: u8 },
}