I am creating a web app with Razor Pages and I\'m running into an issue. I am trying to send a message to the user when an exception is thrown. I\'m imagining something similar