This at least applies to "quota exceeded" and "device or resource busy" because of locked files.
In both (and possibly other) cases, the error string is not even logged by reva, only a generic xrootd return code 54 is logged - which is translated to HTTP 500 for the user.