From 5eed5aa5364e322bbb71a03a8dcd1d21e1b4663d Mon Sep 17 00:00:00 2001 From: James P Date: Wed, 20 Mar 2024 08:27:29 -0500 Subject: [PATCH] Added message to validator --- src/IsoFS.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IsoFS.ts b/src/IsoFS.ts index 15b9f25..4f29eda 100644 --- a/src/IsoFS.ts +++ b/src/IsoFS.ts @@ -208,7 +208,7 @@ export const Iso: Backend = { description: 'The ISO file in a buffer', validator(arg: unknown) { if (!(arg instanceof ArrayBuffer)) { - throw new TypeError(); + throw new TypeError('data is not an ArrayBuffer'); } }, },