aboutsummaryrefslogtreecommitdiff
path: root/src/errors/di_container.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors/di_container.rs')
-rw-r--r--src/errors/di_container.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/errors/di_container.rs b/src/errors/di_container.rs
index 3b8c717..127676f 100644
--- a/src/errors/di_container.rs
+++ b/src/errors/di_container.rs
@@ -1,8 +1,11 @@
+//! Error types for the DI container.
+
use std::fmt;
use std::fmt::{Display, Formatter};
use error_stack::Context;
+/// Error for when the DI container fails to do something.
#[derive(Debug)]
pub struct DIContainerError;
@@ -16,6 +19,7 @@ impl Display for DIContainerError
impl Context for DIContainerError {}
+/// Error for when the binding builder fails to do something.
#[derive(Debug)]
pub struct BindingBuilderError;