Merge pull request #1056 from lightpanda-io/DOM_NO_ERR

Convert more DOM_NO_ERR cases to assertions
This commit is contained in:
Karl Seguin
2025-09-18 19:06:32 +08:00
committed by GitHub
57 changed files with 380 additions and 446 deletions

View File

@@ -2954,7 +2954,7 @@ pub fn Env(comptime State: type, comptime WebApis: type) type {
}
return v8.initNull(isolate).toValue();
},
.error_union => return zigValueToJs(templates, isolate, v8_context, value catch |err| return err),
.error_union => return zigValueToJs(templates, isolate, v8_context, try value),
else => {},
}