diff options
Diffstat (limited to 'src/errors/di_container.rs')
-rw-r--r-- | src/errors/di_container.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/errors/di_container.rs b/src/errors/di_container.rs index ed05a5e..98c2be4 100644 --- a/src/errors/di_container.rs +++ b/src/errors/di_container.rs @@ -54,7 +54,14 @@ pub enum BindingBuilderError /// A binding already exists for a interface. #[error("Binding already exists for interface '{0}'")] BindingAlreadyExists(&'static str), +} +/// Error type for [`BindingScopeConfigurator`]. +/// +/// [`BindingBuilder`]: crate::di_container::BindingScopeConfigurator +#[derive(thiserror::Error, Debug)] +pub enum BindingScopeConfiguratorError +{ /// Resolving a singleton failed. #[error("Resolving the given singleton failed")] SingletonResolveFailed(#[from] InjectableError), |