summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2024-11-10 02:43:04 -0800
committerGitHub <noreply@github.com>2024-11-10 02:43:04 -0800
commitbfc143a5ac233a0db26ff1e29dd7b94a697d862d (patch)
treea71a97c25d3f1199dd0eb112ba87eb6a7ce91916 /runtime
parente1b40a69c0241a9be7249b64118eae8741e24268 (diff)
fix(ext/webstorage): use error class for sqlite error case (#26806)
Fixes #26797
Diffstat (limited to 'runtime')
-rw-r--r--runtime/errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/errors.rs b/runtime/errors.rs
index 5716944b7..0c26e0e47 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",
}