Publishing Engine Programmer's Guide > The Arbortext Publishing Engine Sub-Process > Arbortext Publishing Engine Document Conversion > Conversion Processing > Returning Composer Errors
  
Returning Composer Errors
When an Arbortext PE sub-process publishes a document, minor errors are normally ignored.
If you specify return-composer-errors=error and publishing error messages are issued, then the conversion process discards the output document and returns an XHTML document containing a list of the errors, along with a result code of 500.
If you specify return-composer-errors=warning and warning or error messages are issued, then the conversion process discards the output document and returns an XHTML document containing a list of the errors and warnings, along with a result code of 500.
If you specify return-composer-errors=no (the default), PE will attempt to correct minor errors and continue processing. Even if warnings or errors are detected, they will be discarded as long as PE is able to produce an output document.
Errors and warning from PTC APP are sent to the event log, which is returned to the client during publishing on the Arbortext PE server.