# 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+ | Field | Description | |---|---| | ` D RXS_stdOutError... D pr` | Writes an error data structure to standard out. | | ` D pXmlTag 256a value varying` | **Required** Root element name of the XML document to be generated. | | ` D pErr value likeds(RXS_Error)` | **Required** Error information to be displayed. | | ` D pWrtHdr n value` | **Required** Indicates if an HTTP header should be generated. |