Well in this case i know it was the queue since i am in control of when the 404 is redirected to. But of course it can be extended/changed, call it 'queue404' instead then. But do you have any suggestion of what to do instead of redirecting?

Just showing a queue with no title and that's not queueable feels weird.