If the RPC request fails, an <rpc-error> element is encoded inside the <rpc-reply> element and sent to the client.
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.