return ret;
}
+
+/**
+ * ges_asset_get_error:
+ * @self: The asset to retrieve the error from
+ *
+ * Returns: (transfer none): The #GError of the asset or %NULL if the asset was
+ * loaded without issue
+ *
+ * Since: 1.8
+ */
+GError *
+ges_asset_get_error (GESAsset * self)
+{
+ g_return_val_if_fail (GES_IS_ASSET (self), NULL);
+
+ return self->priv->error;
+}
const gchar * ges_asset_get_id (GESAsset* self);
GESAsset * ges_asset_request_finish (GAsyncResult *res,
GError **error);
+GError * ges_asset_get_error (GESAsset * self);
GESExtractable * ges_asset_extract (GESAsset * self,
GError **error);
GList * ges_list_assets (GType filter);