get_error

@returns(GLib.Error)
def get_error()

If an error has occurred that prevents the loader from providing any further data, this function will return a GError, otherwise NULL.

Returns :

loader error or NULL