From 2d1606ce8c06c49c3a60de08bf299b6a409a5c1e Mon Sep 17 00:00:00 2001
From: crowlkats <crowlkats@toaxl.com>
Date: Sun, 10 Nov 2024 10:09:04 +0100
Subject: [PATCH] fix(ext/webstorage): use error class for sqlite error case

---
 runtime/errors.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtime/errors.rs b/runtime/errors.rs
index 5716944b7e3940..0c26e0e47acf66 100644
--- a/runtime/errors.rs
+++ b/runtime/errors.rs
@@ -623,7 +623,7 @@ fn get_ffi_call_error_class(e: &CallError) -> &'static str {
 fn get_webstorage_class_name(e: &WebStorageError) -> &'static str {
   match e {
     WebStorageError::ContextNotSupported => "DOMExceptionNotSupportedError",
-    WebStorageError::Sqlite(_) => todo!(),
+    WebStorageError::Sqlite(_) => "Error",
     WebStorageError::Io(e) => get_io_error_class(e),
     WebStorageError::StorageExceeded => "DOMExceptionQuotaExceededError",
   }