summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-02-05 13:24:48 +0200
committerLars Wirzenius <liw@liw.fi>2024-02-05 13:24:48 +0200
commitb483ab914de22741d250785f5401184e0021a1f2 (patch)
tree07fed13d6743ec6c88e7de6a29dc456dbf02b946
parent1c87d349efa2556005b5d41f05db8b704a883eb5 (diff)
downloadradicle-ci-broker-b483ab914de22741d250785f5401184e0021a1f2.tar.gz
style: add note to errors.rs about module specific error types
Signed-off-by: Lars Wirzenius <liw@liw.fi>
-rw-r--r--src/error.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index 9a49fd2..c70bc1d 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -1,4 +1,8 @@
//! Possible errors returned by the CI broker library.
+//!
+//! Each module has its own error type, this module collects them
+//! together into a unified type, for callers who don't care to handle
+//! module errors in specific ways.
use std::path::PathBuf;