build_fault


Description:


[ PrintfFormat ]
public string build_fault (int fault_code, string fault_format, ...)

This creates an XML-RPC fault response and returns it as a string.

(To create a successful response, use build_method_response.)

Parameters:

fault_code

the fault code

fault_format

a printf-style format string

...

the parameters to fault_format

Returns:

the text of the fault


Namespace: Soup.XMLRPC
Package: libsoup-2.4