<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY version SYSTEM "version.xml">
]>
<refentry id="PkError">
<refmeta>
<refentrytitle role="top_of_page" id="PkError.top_of_page">PkError</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>PACKAGEKIT Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>PkError</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv id="PkError.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
                    <link linkend="PkErrorPrivate">PkErrorPrivate</link>;
                    <link linkend="PkError-struct">PkError</link>;
<link linkend="PkError">PkError</link> *           <link linkend="pk-error-new">pk_error_new</link>                        (void);
<link linkend="PkErrorEnum">PkErrorEnum</link>         <link linkend="pk-error-get-code">pk_error_get_code</link>                   (<link linkend="PkError">PkError</link> *error_code);
const <link linkend="gchar">gchar</link> *       <link linkend="pk-error-get-details">pk_error_get_details</link>                (<link linkend="PkError">PkError</link> *error_code);
</synopsis>
</refsynopsisdiv>

<refsect1 id="PkError.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
  <link linkend="GObject">GObject</link>
   +----PkError
</synopsis>
</refsect1>





<refsect1 id="PkError.properties" role="properties">
<title role="properties.title">Properties</title>
<synopsis>
  &quot;<link linkend="PkError--code">code</link>&quot;                     <link linkend="guint">guint</link>                 : Read / Write
  &quot;<link linkend="PkError--details">details</link>&quot;                  <link linkend="gchar">gchar</link>*                : Read / Write
</synopsis>
</refsect1>



<refsect1 id="PkError.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>

<refsect1 id="PkError.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="PkErrorPrivate" role="struct">
<title>PkErrorPrivate</title>
<indexterm zone="PkErrorPrivate"><primary sortas="PkErrorPrivate">PkErrorPrivate</primary></indexterm><programlisting>typedef struct _PkErrorPrivate PkErrorPrivate;</programlisting>
<para>
Private <link linkend="PkError"><type>PkError</type></link> data</para>
<para>
</para></refsect2>
<refsect2 id="PkError-struct" role="struct">
<title>PkError</title>
<indexterm zone="PkError-struct"><primary sortas="PkError">PkError</primary></indexterm><programlisting>typedef struct _PkError PkError;</programlisting>
<para>
</para></refsect2>
<refsect2 id="pk-error-new" role="function">
<title>pk_error_new ()</title>
<indexterm zone="pk-error-new"><primary sortas="pk_error_new">pk_error_new</primary></indexterm><programlisting><link linkend="PkError">PkError</link> *           pk_error_new                        (void);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a new PkError object.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-error-get-code" role="function">
<title>pk_error_get_code ()</title>
<indexterm zone="pk-error-get-code"><primary sortas="pk_error_get_code">pk_error_get_code</primary></indexterm><programlisting><link linkend="PkErrorEnum">PkErrorEnum</link>         pk_error_get_code                   (<link linkend="PkError">PkError</link> *error_code);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>error_code</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-error-get-details" role="function">
<title>pk_error_get_details ()</title>
<indexterm zone="pk-error-get-details"><primary sortas="pk_error_get_details">pk_error_get_details</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link> *       pk_error_get_details                (<link linkend="PkError">PkError</link> *error_code);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>error_code</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>
<refsect1 id="PkError.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="PkError--code" role="property"><title>The <literal>&quot;code&quot;</literal> property</title>
<indexterm zone="PkError--code"><primary sortas="PkError:code">PkError:code</primary></indexterm><programlisting>  &quot;code&quot;                     <link linkend="guint">guint</link>                 : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: 0</para>
</refsect2>
<refsect2 id="PkError--details" role="property"><title>The <literal>&quot;details&quot;</literal> property</title>
<indexterm zone="PkError--details"><primary sortas="PkError:details">PkError:details</primary></indexterm><programlisting>  &quot;details&quot;                  <link linkend="gchar">gchar</link>*                : Read / Write</programlisting>
<para>
</para>
<para>
</para><para>Default value: NULL</para>
</refsect2>
</refsect1>




</refentry>
