diff options
author | Leo K <crowlkats@toaxl.com> | 2021-06-05 19:30:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-05 19:30:20 +0200 |
commit | 083f5c345445af4e434281c37817e12249d7553d (patch) | |
tree | 2db46d622283ab37182ca988ecb0712dc11af6e8 /runtime/errors.rs | |
parent | 706b75d7421a33a54f51ceafc0747be4a646c707 (diff) |
refactor(crypto): validate max random bytes in Rust (#10857)
Diffstat (limited to 'runtime/errors.rs')
-rw-r--r-- | runtime/errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/errors.rs b/runtime/errors.rs index c5e93d65b..a3332d41a 100644 --- a/runtime/errors.rs +++ b/runtime/errors.rs @@ -157,7 +157,7 @@ fn get_nix_error_class(error: &nix::Error) -> &'static str { pub fn get_error_class_name(e: &AnyError) -> Option<&'static str> { deno_core::error::get_custom_error_class(e) .or_else(|| deno_webgpu::error::get_error_class_name(e)) - .or_else(|| deno_webstorage::get_quota_exceeded_error_class_name(e)) + .or_else(|| deno_web::get_quota_exceeded_error_class_name(e)) .or_else(|| deno_webstorage::get_not_supported_error_class_name(e)) .or_else(|| { e.downcast_ref::<dlopen::Error>() |