takeError

open fun takeError(error: <Error class: unknown class>)

Sets the result from @error, and takes over the caller's ownership of @error, so the caller does not need to free it any more.

Since

2.28

Parameters

error

a #GError