When visiting a URL for a document that does not exist, an error is thrown in the console.