Files
SnowLuma/.pnpm-store/v11/files/39/3b70f74b03fb02727de27839cfa1318c67934398ad88cff92588dad723a6397ea2613dbae1a2ad5994128ba190e8f8b51eafbc993622a41fbcb21562d0b252
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

16 lines
698 B
Plaintext

export declare class AddressError extends Error {
/**
* The offending address with the portion that failed to parse wrapped in
* `<span class="parse-error">`, e.g. `2001:db8<span
* class="parse-error">:::</span>1`. Present only on errors thrown from a
* parse path that can point at a specific substring.
*
* This is an HTML fragment intended for an address-inspector UI. The
* address content is HTML-escaped, so it is safe to insert as-is; treat it
* as markup rather than as a plain-text message, and use `message` for
* anything that renders as text.
*/
parseMessage?: string;
constructor(message: string, parseMessage?: string);
}