Added support for errorURL.