RPC and error handling

The <rpc-error> element indicates the first detected error.

The server is not required to detect or report multiple errors. If the server detects multiple errors, then the order of the error detection and reporting is at the discretion of the server.