From 49ea548b180c3dbd50804cd6ced54bf5657d9459 Mon Sep 17 00:00:00 2001 From: Paulo Telles <127244073+ptlls@users.noreply.github.com> Date: Wed, 5 Jun 2024 09:28:28 +0100 Subject: [PATCH] fix: typo in InvalidChecksum exception --- src/exceptions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exceptions.ts b/src/exceptions.ts index b283a3e..bbd8a13 100644 --- a/src/exceptions.ts +++ b/src/exceptions.ts @@ -35,7 +35,7 @@ export class InvalidFormat extends ValidationError { * The number's internal checksum or check digit does not match. */ export class InvalidChecksum extends ValidationError { - constructor(msg = "The number number's checksum or check digit is invalid.") { + constructor(msg = "The number checksum or check digit is invalid.") { super(msg); this.name = 'InvalidChecksum'; }