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 4c98576 commit 385930cCopy full SHA for 385930c
src/database.rs
@@ -71,7 +71,7 @@ impl<Err> Database<Err> {
71
pub fn delete_object_store(&self, name: &str) -> crate::Result<(), Err> {
72
self.sys.delete_object_store(name).map_err(|err| match error_name!(&err) {
73
Some("InvalidStateError") => crate::Error::InvalidCall,
74
- Some("TransactionInactiveError") => panic!("Tried to create an object store with the `versionchange` transaction having already aborted"),
+ Some("TransactionInactiveError") => panic!("Tried to delete an object store with the `versionchange` transaction having already aborted"),
75
Some("NotFoundError") => crate::Error::DoesNotExist,
76
_ => crate::Error::from_js_value(err),
77
})
0 commit comments