diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2014-12-26 16:56:19 +0000 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2014-12-26 16:56:19 +0000 |
commit | c0207dbae2db0355b031e3e29e66ab4f1a915907 (patch) | |
tree | 908272981589a165b1833098d50e2c3044ae36ef /lib/pure/uri.nim | |
parent | 9471f585c207da304d469ca696a40659656e0852 (diff) | |
download | Nim-c0207dbae2db0355b031e3e29e66ab4f1a915907.tar.gz |
More deprecation warning fixes (asyncdispatch, uri).
Diffstat (limited to 'lib/pure/uri.nim')
-rw-r--r-- | lib/pure/uri.nim | 2 |
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 |