diff options
Diffstat (limited to 'doc/api/url.md')
-rw-r--r-- | doc/api/url.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api/url.md b/doc/api/url.md index 7efd85c513..54c6fbdaf2 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -259,6 +259,10 @@ added: v0.1.25 The `url.parse()` method takes a URL string, parses it, and returns a URL object. +A `TypeError` is thrown if `urlString` is not a string. + +A `URIError` is thrown if the `auth` property is present but cannot be decoded. + ## url.resolve(from, to) <!-- YAML added: v0.1.25 |