set_error


Description:

[ PrintfFormat ]
[ Version ( deprecated = true , deprecated_since = "2.46" ) ]
public void set_error (Quark domain, int code, string format, ...)

Warning: set_error is deprecated since 2.46.

Sets an error within the asynchronous result without a Error.

Note:

Use Task and return_new_error instead.

Parameters:

this

a SimpleAsyncResult.

domain

a Quark (usually g_io_error).

code

an error code.

format

a formatted error reporting string.

...

a list of variables to fill in format.