Application specific errors are always described as application specific XML business documents.
These exception documents are described in
Using IFR-XML Format with Adapter for
SAP. For SAP's standard interfaces, the relevant exception documents are provided in the SAP interface repository as part of the XML schema for response documents.