Method
VarlinkServerMethodCallreply_error
Declaration [src]
DexFuture*
varlink_server_method_call_reply_error (
VarlinkServerMethodCall* self,
const char* error_name,
VarlinkMessage* parameters
)
Parameters
error_name-
Type:
const char*The Varlink error name.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. parameters-
Type:
VarlinkMessageError parameters.
The data is owned by the caller of the method.
Return value
Type: DexFuture
A DexFuture that resolves to a boolean.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |