Skip to content

Commit

Permalink
fix(ext/webstorage): use error class for sqlite error case (#26806)
Browse files Browse the repository at this point in the history
Fixes #26797
  • Loading branch information
crowlKats authored Nov 10, 2024
1 parent e1b40a6 commit bfc143a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
Expand Down

0 comments on commit bfc143a

Please sign in to comment.