Skip to content

Commit

Permalink
fix: type in exceptions.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianMeul authored Mar 19, 2024
1 parent 05eb9c3 commit 8e01a1d
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 @@ -25,7 +25,7 @@ export class ValidationError extends Error {
* part of the number or required parts are missing.
*/
export class InvalidFormat extends ValidationError {
constructor(msg = 'The number has an invlidad format.') {
constructor(msg = 'The number has an invalid format.') {
super(msg);
this.name = 'InvalidFormat';
}
Expand Down

0 comments on commit 8e01a1d

Please sign in to comment.