We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c8615e commit 5f988fcCopy full SHA for 5f988fc
1 file changed
crates/stackable-operator/src/database_connections/mod.rs
@@ -10,6 +10,9 @@ mod tests;
10
///
11
/// All variants use `context(false)` to enable automatic [`From`] conversion,
12
/// so callers can use `?` directly without needing `.context(SomeSnafu)`.
13
+///
14
+/// This makes it way more comfortable to use in a trait context, which returns
15
+/// this core error type.
16
#[derive(Debug, Snafu)]
17
pub enum Error {
18
#[snafu(context(false), display("PostgreSQL database connection error"))]
0 commit comments