Cancellable.setErrorIfCancelled

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

class Cancellable
bool
setErrorIfCancelled
()

Return Value

Type: bool

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

Throws

GException on failure.

Meta