Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Added message to validator
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Mar 20, 2024
1 parent fa6e460 commit 5eed5aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IsoFS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
},
},
Expand Down

0 comments on commit 5eed5aa

Please sign in to comment.