return_new_error_literal


Description:

[ Version ( since = "2.80" ) ]
public void return_new_error_literal (Quark domain, int code, string message)

Sets this’s result to a new [type@GLib.

Error] created from domain, code, message and completes the task.

See [method@Gio.Task.return_pointer] for more discussion of exactly what ‘completing the task’ means.

See also [method@Gio.Task.return_new_error].

Parameters:

this

a Task.

domain

a Quark.

code

an error code.

message

an error message