reject


Description:

public void reject (owned Error error)

Marks the promise as rejected, indicating a failure.

Parameters:

this

a [class@Dex.Promise]

error

a [struct@GLib.Error]