From 0be356bc6d468ee82ec0b8798409c1da48c653f3 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 13 Jan 2025 19:40:40 +0900 Subject: refactor(blog/nuldoc): rename DocBookError to NuldocError --- vhosts/blog/nuldoc-src/ndoc/document.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vhosts/blog/nuldoc-src/ndoc/document.ts') diff --git a/vhosts/blog/nuldoc-src/ndoc/document.ts b/vhosts/blog/nuldoc-src/ndoc/document.ts index f1cdede9..26c00784 100644 --- a/vhosts/blog/nuldoc-src/ndoc/document.ts +++ b/vhosts/blog/nuldoc-src/ndoc/document.ts @@ -1,6 +1,6 @@ import { join } from "std/path/mod.ts"; import { Config } from "../config.ts"; -import { DocBookError } from "../errors.ts"; +import { NuldocError } from "../errors.ts"; import { Revision, stringToDate } from "../revision.ts"; import { Element, findFirstChildElement } from "../dom.ts"; import { z } from "zod/mod.ts"; @@ -40,8 +40,8 @@ export function createNewDocumentFromRootElement( ): Document { const article = findFirstChildElement(root, "article"); if (!article) { - throw new DocBookError( - `[docbook.new]
element not found`, + throw new NuldocError( + `[nuldoc.new]
element not found`, ); } -- cgit v1.2.3-70-g09d2