mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-05 19:34:12 +00:00
fixes #13654
This commit is contained in:
@@ -47,5 +47,5 @@ template formatStr*(howExpr, namegetter, idgetter): untyped =
|
||||
i += 1
|
||||
val.add(namegetter)
|
||||
else:
|
||||
raise newException(Exception, "Syntax error in format string at " & $i)
|
||||
raise newException(ValueError, "Syntax error in format string at " & $i)
|
||||
val
|
||||
|
||||
Reference in New Issue
Block a user