This PR builds on #1913 to demonstrate how it might be used. With this, the PSS returns the following when the cache is unable to authenticate with the origin: ``` [ERROR] Server responded with an error: [3030] Unable to open /user/ligo/test_access/access_ligo; invalid exchange (Failed to open file in cache: invalid exchange) ``` Note that it generates a lousy message ("invalid exchange") because EAUTH maps to a EBADE on Linux. I'll fix that in a follow-up PR. With this approach, we could continue digging through the `XrdPosix` layer to generate a better error message there as well. However, I just wanted to illustrate what the new XrdOss API usage would look like. @osschar You can view, comment on, or merge this pull request online at: https://github.com/xrootd/xrootd/pull/1915 -- Commit Summary -- * Add an error object to XrdOss. * Add advanced error reporting support to the OFS * Advanced error message generation for the PSS -- File Changes -- M src/XrdOfs/XrdOfs.cc (40) M src/XrdOfs/XrdOfs.hh (3) M src/XrdOfs/XrdOfsConfig.cc (4) M src/XrdOss/XrdOss.cc (16) M src/XrdOss/XrdOss.hh (35) M src/XrdOuc/XrdOucErrInfo.hh (19) M src/XrdPss/XrdPss.cc (10) M src/XrdPss/XrdPss.hh (6) -- Patch Links -- https://github.com/xrootd/xrootd/pull/1915.patch https://github.com/xrootd/xrootd/pull/1915.diff -- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/1915 You are receiving this because you are subscribed to this thread. Message ID: <[log in to unmask]> ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1