From my experience this isn’t possible as the error page isn’t actually a page as shown in the address bar. IPS injects it into the page as it failed to load the request that the user is looking for. Maybe other users might know how to but I’m not sure if what you are asking is possible