Method

PackageKitResultsget_error_code

since: 0.5.2

Declaration [src]

PkError*
pk_results_get_error_code (
  PkResults* results
)

Description [src]

Gets the last error code from the transaction.

Available since: 0.5.2

Return value

Type: PkError

A PkError, or NULL, free with g_object_unref().

The caller of the method takes ownership of the returned data, and is responsible for freeing it.