return_new_error


Description:

[ PrintfFormat ]
[ Version ( since = "2.36" ) ]
public void return_new_error (Quark domain, int code, string format, ...)

Sets this's result to a new Error created from domain, code, format, and the remaining arguments, and completes the task (see return_pointer for more discussion of exactly what this means).

See also return_error.

Parameters:

this

a Task.

domain

a Quark.

code

an error code.

format

a string with format characters.

...

a list of values to insert into format.