Skip to content

Commit 724a6cf

Browse files
authored
syntax: Fix typo in Generic error code (#216)
1 parent e95b07e commit 724a6cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fluent.syntax/fluent/syntax/errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def __init__(self, code: str, *args: Union[str, None]):
99

1010

1111
def get_error_message(code: str, args: tuple[Union[str, None], ...]) -> str:
12-
if code == "E00001":
12+
if code == "E0001":
1313
return "Generic error"
1414
if code == "E0002":
1515
return "Expected an entry start"

0 commit comments

Comments
 (0)