This commit is contained in:
Andreas Rumpf
2020-03-16 23:00:26 +01:00
parent d375120c42
commit 955b31a7d9

View File

@@ -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