Method

DexPromisereject

Declaration [src]

void
dex_promise_reject (
  DexPromise* promise,
  GError* error
)

Description [src]

Marks the promise as rejected, indicating a failure.

Parameters

error GError*
 

A GError.

 The instance takes ownership of the data, and is responsible for freeing it.