first commit

This commit is contained in:
douboer@gmail.com
2026-03-03 13:23:14 +08:00
commit 3b7c1d558a
161 changed files with 28120 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
export class XError extends Error {
constructor(message: string) {
message = "[x] " + message;
super(message);
this.name = "XTerminalError";
}
}
export const TARGET_INVALID_ERR =
"mount: A parent HTMLElement (target) is required";
export const TARGET_NOT_CONNECTED_ERR =
"'mount' was called on an HTMLElement (target) that is not attached to DOM.";