Converts a relative URL to an absolute URL using a base URL.
The relative or absolute URL to resolve.
The base URL to resolve relative URLs.
The absolute URL as a string.
An error if the URL is invalid.
Converts a relative URL to an absolute URL using a base URL.