At least in this test it works as I would expect.

 Code:
break on

shell 'xcopy c:\winders\*.* c:\temp'
? "Kixtart reports:  " + @serror


Returns:
Kixtart reports: The system cannot open the file.