diff --git a/src/utils/Udi.ts b/src/utils/Udi.ts index 811931d..00abae6 100644 --- a/src/utils/Udi.ts +++ b/src/utils/Udi.ts @@ -88,7 +88,7 @@ class Udi { static fromUrn(urn: string): Udi { const parsedUrn = urns.parseURN(urn); if (parsedUrn.nid.toLowerCase() !== Udi.nid) { - throw new Error(`Invalid nid: ${parsedUrn.nid}`); + throw new Error(`Invalid UDI: ${parsedUrn.nid}`); } const parts = parsedUrn.nss.split(":");