Skip to content

Commit ff24c7f

Browse files
committed
improve error messages
1 parent a8ab2de commit ff24c7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/translator/phrase.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ export function multiplePhrases(
346346
phrase.type === "adjective" && phrase.inWayPhrase != null
347347
)
348348
) {
349-
throw new FilteredError("in way phrase within compound");
349+
throw new FilteredError("in [adjective] way phrase within compound");
350350
}
351351
if (phrase.every((phrase) => phrase.type === "noun")) {
352352
return {

0 commit comments

Comments
 (0)