Cancellable.setErrorIfCancelled

If the @cancellable is cancelled, sets the error to notify that the operation was cancelled.

Return: %TRUE if @cancellable was cancelled, %FALSE if it was not

class Cancellable
bool
setErrorIfCancelled
()

Throws

GException on failure.

Meta