<refentry id="gmime-gmime-error">
<refmeta>
<refentrytitle role="top_of_page" id="gmime-gmime-error.top_of_page">gmime-error</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>
  GMIME Library
</refmiscinfo>
</refmeta>
<refnamediv>
<refname>gmime-error</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv id="gmime-gmime-error.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>#define             <link linkend="GMIME-ERROR:CAPS">GMIME_ERROR</link>
#define             <link linkend="GMIME-ERROR-IS-SYSTEM:CAPS">GMIME_ERROR_IS_SYSTEM</link>               (error)
</synopsis>
</refsynopsisdiv>

<refsect1 id="gmime-gmime-error.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1 id="gmime-gmime-error.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="GMIME-ERROR:CAPS" role="macro">
<title>GMIME_ERROR</title>
<indexterm zone="GMIME-ERROR:CAPS"><primary>GMIME_ERROR</primary></indexterm>
<programlisting>#define GMIME_ERROR gmime_error_quark
</programlisting>
<para>
The GMime error domain GQuark value.
</para></refsect2>
<refsect2 id="GMIME-ERROR-IS-SYSTEM:CAPS" role="macro">
<title>GMIME_ERROR_IS_SYSTEM()</title>
<indexterm zone="GMIME-ERROR-IS-SYSTEM:CAPS"><primary>GMIME_ERROR_IS_SYSTEM</primary></indexterm>
<programlisting>#define GMIME_ERROR_IS_SYSTEM(error) ((error) &gt; 0)
</programlisting>
<para>
Decides if an error is a system error (aka errno value) vs. a GMime
error.
</para>
<para>
Meant to be used with <link linkend="GError-code"><type>"code"</type></link>
</para><variablelist role="params">
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara>integer error value
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>

</refentry>
