public protocol URLConvertible
Types adopting the
URLConvertible protocol can be used to construct
URLs, which can then be used to construct
URLfrom the conforming instance or throws.
ThrowsAny error thrown while creating the
func asURL() throws -> URL
URLcreated from the instance.