summary refs log tree commit diff stats
path: root/lib/pure/uri.nim
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2014-12-26 16:56:19 +0000
committerDominik Picheta <dominikpicheta@googlemail.com>2014-12-26 16:56:19 +0000
commitc0207dbae2db0355b031e3e29e66ab4f1a915907 (patch)
tree908272981589a165b1833098d50e2c3044ae36ef /lib/pure/uri.nim
parent9471f585c207da304d469ca696a40659656e0852 (diff)
downloadNim-c0207dbae2db0355b031e3e29e66ab4f1a915907.tar.gz
More deprecation warning fixes (asyncdispatch, uri).
Diffstat (limited to 'lib/pure/uri.nim')
-rw-r--r--lib/pure/uri.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/uri.nim b/lib/pure/uri.nim
index 8f116d5a8..368802dc2 100644
--- a/lib/pure/uri.nim
+++ b/lib/pure/uri.nim
@@ -113,7 +113,7 @@ proc parseUri*(uri: string): Uri =
     var authority = ""
     i.inc parseUntil(uri, authority, {'/', '?', '#'}, i)
     if authority == "":
-      raise newException(EInvalidValue, "Expected authority got nothing.")
+      raise newException(ValueError, "Expected authority got nothing.")
     parseAuthority(authority, result)
 
   # Path
n151'>151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172