mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
fix(ext/webstorage): use error class for sqlite error case (#26806)
Fixes #26797
This commit is contained in:
parent
e1b40a69c0
commit
bfc143a5ac
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue