Error Reporting

Errors are reported using a platform-neutral ErrorStackType or FaultStackType element, the definition of which is given below. These elements can be returned in the following situations:

The structure of an ErrorStackType element in a RetrievalError, TraversalError or ObjectResponseType element is as follows (the FaultStackType element has the same structure):

RetrievalError/TraversalError/ObjectResponseType
     ErrorStackType ErrorStack(RetrievalError,TraversalError) or Item(ObjectResponseType)
          ErrorNameType ErrorName
          ErrorRecordType ErrorRecord[0]
               DiagnosticType Diagnostic[0]
               DiagnosticType DiagnosticType[1]
                    .
                    .                       
          ErrorRecordType ErrorRecord[1]
               .
               .