Adding exceptions

I've added NonExistentResourceError, when the page we're looking for doesn't exist