From 7cd14f97c9300357475e3e461fa57cbb7ec5bfec Mon Sep 17 00:00:00 2001 From: crowlKats <13135287+crowlKats@users.noreply.github.com> Date: Mon, 1 Mar 2021 11:31:13 +0100 Subject: feat: WebGPU API (#7977) Co-authored-by: Luca Casonato --- runtime/errors.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/errors.rs') diff --git a/runtime/errors.rs b/runtime/errors.rs index b3d474504..a8152b075 100644 --- a/runtime/errors.rs +++ b/runtime/errors.rs @@ -151,6 +151,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(|| { e.downcast_ref::() .map(get_dlopen_error_class) -- cgit v1.2.3