reply_error_async


Description:

[ Version ( since = "3.28" ) ]
public async bool reply_error_async (Variant id, int code, string? message, Cancellable? cancellable) throws Error

Asynchronously replies to the peer, sending a JSON-RPC error message.

Call [[email protected]_error_finish] to get the result of this operation.

If id is floating, it's floating reference is consumed.

Parameters:

this

A Client

id

A [[email protected]] containing the call id

code

The error code

message

An optional error message

cancellable

A Cancellable, or null

callback

A TaskReadyCallback or null

user_data

Closure data for callback




2022 vala-language.org