ErrorG.propagateError

If dest is NULL, free src; otherwise, moves src into *dest. The error variable dest points to must be NULL.

src must be non-NULL.

Note that src is no longer valid after this call. If you want to keep using the same GError*, you need to set it to NULL after calling this function on it.

class ErrorG
static
void
propagateError

Parameters

dest ErrorG

error return location

src ErrorG

error to move into the return location