diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-02-03 10:27:00 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-02-03 10:27:00 +0200 |
| commit | de254873cfd40f2ef2e77bcffb3bf0f9ec0b1c0b (patch) | |
| tree | bd88e908c7f6b49eab4ff15a44bb58212eec8b15 /log_db/src/common.rs | |
| parent | 106b53212fd04f6dd236826d39a52443d355d553 (diff) | |
Add transaction support
Diffstat (limited to 'log_db/src/common.rs')
| -rw-r--r-- | log_db/src/common.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/log_db/src/common.rs b/log_db/src/common.rs index 3a5fbfe..d4a95b5 100644 --- a/log_db/src/common.rs +++ b/log_db/src/common.rs @@ -41,6 +41,8 @@ pub enum DBError { ValidationError(String), #[error("consistency check failed: {0}")] ConsistencyError(String), + #[error("invalid transaction: {0}")] + TransactionError(String), #[error("unexpected IO error: {0}")] IOError(#[from] io::Error), } |
