Custom 404 page - existing plugins?

Detailed #404 error messages are displayed only if the user can do something to see the group, usually by joining a group (joining freely or by sending a membership request).

In this case, the users cannot join or send membership requests for the @staff group, which explains why the detailed error page is not shown. I think of adding an “else” case when “detailed 404” is enabled which would display

Oops! That page is private.

instead of

Oops! That page doesn’t exist or is private.