If we're open any default XF code, we can see overriding $error text. For example, for threads, if user can't view thread (because "deleted"/"moderated"), he receives default error reason "The requested thread could not be found":
In XFRM error text doesn't overriden if user can't view...