mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
don't expose DOMErr function
This commit is contained in:
@@ -388,7 +388,7 @@ pub const DOMError = error{
|
||||
|
||||
const DOMException = c.dom_exception;
|
||||
|
||||
pub fn DOMErr(except: DOMException) DOMError!void {
|
||||
fn DOMErr(except: DOMException) DOMError!void {
|
||||
return switch (except) {
|
||||
c.DOM_NO_ERR => return,
|
||||
c.DOM_INDEX_SIZE_ERR => DOMError.IndexSize,
|
||||
|
||||
Reference in New Issue
Block a user