This GObject represents a error_code from a transaction. These objects represent single items of data from the transaction, and are often present in lists (PkResults) or just refcounted in client programs.
PkError * pk_error_new (
PkErrorEnum pk_error_get_code (
Get the error code for this error.