Skip to content

Commit fd61d07

Browse files
committed
syntax: Fix typo in Generic error code
1 parent ba386c2 commit fd61d07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)