I suppose you mean the line below. I don't see the point of throwing an error here as we can simply redirect the user. In my opinion the user should not know there's such page.