diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2020-03-16 23:00:26 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2020-03-16 23:00:43 +0100 |
commit | 955b31a7d9b3dff6dffc7d04c236c14521ef6f5b (patch) | |
tree | e8be62e237d8b09baf20939ec3a9f0aff774c650 /lib/impure/nre | |
parent | d375120c424fa94cc58228c2f0285c1b0b32919b (diff) | |
download | Nim-955b31a7d9b3dff6dffc7d04c236c14521ef6f5b.tar.gz |
fixes #13654
Diffstat (limited to 'lib/impure/nre')
-rw-r--r-- | lib/impure/nre/private/util.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/impure/nre/private/util.nim b/lib/impure/nre/private/util.nim index f7d8b1d60..d227dcba3 100644 --- a/lib/impure/nre/private/util.nim +++ b/lib/impure/nre/private/util.nim @@ -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 |