Skip to content

Commit

Permalink
Merge pull request #1 from ptlls/fix/typo-exception
Browse files Browse the repository at this point in the history
fix: typo in InvalidChecksum exception
  • Loading branch information
ptlls committed Jun 5, 2024
2 parents 0d07ecd + 49ea548 commit bea4521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exceptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand Down

0 comments on commit bea4521

Please sign in to comment.