clearError

fnvoid clearError()

If err or *err is null, does nothing. Otherwise, calls [glib.error.ErrorWrap.free] on err and sets err to null.

Throws

[ErrorWrap]