Let's say my messages pages directory handles up to messages/_status/_id/
and someone attempts to access messages/online/1/jaoisjfdsoaj
. This directs to the error page in the default settings of my Nuxt project. Where is the most appropriate place to do this check and properly redirect?