Skip to content

Commit

Permalink
Correction of DatabaseConsistencyError that was forgotten.
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuDutSik committed Oct 1, 2024
1 parent fc81b2b commit 111b097
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions linera-views/src/backends/indexed_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ use crate::{
batch::{Batch, WriteOperation},
common::get_upper_bound_option,
store::{
CommonStoreConfig, DatabaseConsistencyError, KeyValueStoreError, LocalAdminKeyValueStore,
LocalReadableKeyValueStore, LocalWritableKeyValueStore, WithError,
CommonStoreConfig, KeyValueStoreError, LocalAdminKeyValueStore, LocalReadableKeyValueStore,
LocalWritableKeyValueStore, WithError,
},
};

Expand Down Expand Up @@ -348,10 +348,6 @@ pub enum IndexedDbStoreError {
#[error("The value is too large for the IndexedDbStore")]
TooLargeValue,

/// The database is not consistent
#[error(transparent)]
DatabaseConsistencyError(#[from] DatabaseConsistencyError),

/// A DOM exception occurred in the IndexedDB operations
#[error("DOM exception: {0:?}")]
Dom(web_sys::DomException),
Expand Down

0 comments on commit 111b097

Please sign in to comment.