# RXS_stdOutError() Use this subprocedure to output (to standard out) an xml error message detailing an error that has taken place. This is usually used with either [RXS_catchError()](https://isupport.katointegrations.com/rxs/2.x/RXS_catchError.md) to display errors from the call stack or in conjunction with the errHandler subprocedure. ## Subprocedure Prototype ### IBM i V5R4+ ```rpgle // Writes an error data structure to standard out. D RXS_stdOutError... D pr // Required // Root element name of the XML document to be generated. D pXmlTag 256a value varying // Required // Error information to be displayed. D pErr value likeds(RXS_Error) // Required // Indicates if an HTTP header should be generated. D pWrtHdr n value ```