Raise proper errors from nx-html so onError can catch and redirect.
nx-css plugin initiates a GET first, to check for the URL; then if successful inserts the link element. This is not efficient, but protects against errors. It's possible the browser might cache the second GET. That'd be nice.