···44 template.innerHTML = reference.trim();
55 reference = template.content.firstChild;
66 if (!reference) {
77- throw new Error("The provided string did not contain any nodes.");
77+ throw new Error("[Morphlex] The string did not contain any nodes.");
88 }
99 }
1010 if (isElement(node)) {
···5757 this.#buildMaps(pair);
5858 this.#morphMatchingElementContent(pair);
5959 } else {
6060- throw new Error("You can only do an inner morph with matching elements.");
6060+ throw new Error("[Morphlex] You can only do an inner morph with matching elements.");
6161 }
6262 }
6363 #buildMaps([node, reference]) {
+2-2
src/morphlex.ts
···5555 template.innerHTML = reference.trim();
5656 reference = template.content.firstChild as ChildNode;
5757 if (!reference) {
5858- throw new Error("The provided string did not contain any nodes.");
5858+ throw new Error("[Morphlex] The string did not contain any nodes.");
5959 }
6060 }
6161···116116 this.#buildMaps(pair);
117117 this.#morphMatchingElementContent(pair);
118118 } else {
119119- throw new Error("You can only do an inner morph with matching elements.");
119119+ throw new Error("[Morphlex] You can only do an inner morph with matching elements.");
120120 }
121121 }
122122