diff --git a/src/dom/attribute.zig b/src/dom/attribute.zig index 78563920..758a71fb 100644 --- a/src/dom/attribute.zig +++ b/src/dom/attribute.zig @@ -10,6 +10,4 @@ pub const Attr = struct { pub const Self = parser.Attribute; pub const prototype = *Node; pub const mem_guarantied = true; - - pub const Exception = DOMException; }; diff --git a/src/dom/element.zig b/src/dom/element.zig index 13678947..e7380e3d 100644 --- a/src/dom/element.zig +++ b/src/dom/element.zig @@ -18,8 +18,6 @@ pub const Element = struct { pub const prototype = *Node; pub const mem_guarantied = true; - pub const Exception = DOMException; - pub fn toInterface(e: *parser.Element) !Union { return try HTMLElem.toInterface(Union, e); }