SimpleAsyncResult.error


Description:

[ CCode ( has_construct_function = false ) ]
[ PrintfFormat ]
public SimpleAsyncResult.error (Object? source_object, Quark domain, int code, string format, ...)

Creates a new SimpleAsyncResult with a set error.

Note:

Use Task and return_new_error instead.

Parameters:

source_object

a Object, or null.

domain

a Quark.

code

an error code.

format

a string with format characters.

...

a list of values to insert into format.

callback

a TaskReadyCallback.

user_data

user data passed to callback.

Returns:

a SimpleAsyncResult.