Skip to content

Commit

Permalink
Update message in TermType
Browse files Browse the repository at this point in the history
  • Loading branch information
mapeveri committed Jan 20, 2024
1 parent ebdc563 commit 344fb71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/languages/domain/term/valueObjects/termType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default class TermType {
constructor(type: string) {
const entry = Object.entries(TermTypeEnum).find(([, item]) => item === type);
if (!entry) {
throw new Error('Tipo no válido');
throw new Error('Invalid type');
}

this.value = entry[1];
Expand Down

0 comments on commit 344fb71

Please sign in to comment.