\hypertarget{error_8h}{}\doxysection{error.\+h File Reference}
\label{error_8h}\index{error.h@{error.h}}


Elektra error.  


{\ttfamily \#include \char`\"{}types.\+h\char`\"{}}\newline
{\ttfamily \#include $<$kdb.\+h$>$}\newline
{\ttfamily \#include $<$stdbool.\+h$>$}\newline
Include dependency graph for error.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=204pt]{error_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{error_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Elektra\+Error $\ast$ \mbox{\hyperlink{group__highlevel_ga4895fb4c40822a11219846b189395db0}{elektra\+Error\+Pure\+Warning}} (void)
\begin{DoxyCompactList}\small\item\em Creates a dummy Elektra\+Error struct to store warnings in. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__highlevel_ga22c0775760a9f42f29337c06bf8b2ab5}{elektra\+Error\+Code}} (const Elektra\+Error $\ast$error)
\item 
const char $\ast$ \mbox{\hyperlink{group__highlevel_ga781cda83af3981a55321e7c613afbef0}{elektra\+Error\+Description}} (const Elektra\+Error $\ast$error)
\item 
void \mbox{\hyperlink{group__highlevel_ga591f7ed4b57a341928bf7bb3d7adb693}{elektra\+Error\+Reset}} (Elektra\+Error $\ast$$\ast$error)
\begin{DoxyCompactList}\small\item\em Frees the memory used by the error and sets the referenced error variable to N\+U\+LL. \end{DoxyCompactList}\item 
Elektra\+Error $\ast$ \mbox{\hyperlink{error_8h_a0502511a13c56789990a707df8554b11}{elektra\+Error\+Conversion\+To\+String}} (K\+D\+B\+Type source\+Type, const char $\ast$keyname)
\begin{DoxyCompactList}\small\item\em Creates a \char`\"{}\+Conversion to string failed\char`\"{} error. \end{DoxyCompactList}\item 
Elektra\+Error $\ast$ \mbox{\hyperlink{error_8h_a0100203350617d65ea7efb6837b888a8}{elektra\+Error\+Conversion\+From\+String}} (K\+D\+B\+Type target\+Type, const char $\ast$keyname, const char $\ast$source\+Value)
\begin{DoxyCompactList}\small\item\em Creates a \char`\"{}\+Conversion from string failed\char`\"{} error. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Elektra error. 

\begin{DoxyCopyright}{Copyright}
B\+SD License (see doc/\+L\+I\+C\+E\+N\+S\+E.\+md or \href{http://www.libelektra.org}{\texttt{ http\+://www.\+libelektra.\+org}}) 
\end{DoxyCopyright}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{error_8h_a0100203350617d65ea7efb6837b888a8}\label{error_8h_a0100203350617d65ea7efb6837b888a8}} 
\index{error.h@{error.h}!elektraErrorConversionFromString@{elektraErrorConversionFromString}}
\index{elektraErrorConversionFromString@{elektraErrorConversionFromString}!error.h@{error.h}}
\doxysubsubsection{\texorpdfstring{elektraErrorConversionFromString()}{elektraErrorConversionFromString()}}
{\footnotesize\ttfamily Elektra\+Error$\ast$ elektra\+Error\+Conversion\+From\+String (\begin{DoxyParamCaption}\item[{K\+D\+B\+Type}]{target\+Type,  }\item[{const char $\ast$}]{keyname,  }\item[{const char $\ast$}]{source\+Value }\end{DoxyParamCaption})}



Creates a \char`\"{}\+Conversion from string failed\char`\"{} error. 


\begin{DoxyParams}{Parameters}
{\em target\+Type} & The type into which {\ttfamily source\+Value} couldn\textquotesingle{}t be converted. \\
\hline
{\em keyname} & The name of the key that couldn\textquotesingle{}t be converted. \\
\hline
{\em source\+Value} & The value that couldn\textquotesingle{}t be converted.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A newly allocated Elektra\+Error (free with \mbox{\hyperlink{group__highlevel_ga591f7ed4b57a341928bf7bb3d7adb693}{elektra\+Error\+Reset()}}). 
\end{DoxyReturn}
\mbox{\Hypertarget{error_8h_a0502511a13c56789990a707df8554b11}\label{error_8h_a0502511a13c56789990a707df8554b11}} 
\index{error.h@{error.h}!elektraErrorConversionToString@{elektraErrorConversionToString}}
\index{elektraErrorConversionToString@{elektraErrorConversionToString}!error.h@{error.h}}
\doxysubsubsection{\texorpdfstring{elektraErrorConversionToString()}{elektraErrorConversionToString()}}
{\footnotesize\ttfamily Elektra\+Error$\ast$ elektra\+Error\+Conversion\+To\+String (\begin{DoxyParamCaption}\item[{K\+D\+B\+Type}]{source\+Type,  }\item[{const char $\ast$}]{keyname }\end{DoxyParamCaption})}



Creates a \char`\"{}\+Conversion to string failed\char`\"{} error. 


\begin{DoxyParams}{Parameters}
{\em source\+Type} & The type which failed to be converted to string. \\
\hline
{\em keyname} & The name of the key that couldn\textquotesingle{}t be converted.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A newly allocated Elektra\+Error (free with \mbox{\hyperlink{group__highlevel_ga591f7ed4b57a341928bf7bb3d7adb693}{elektra\+Error\+Reset()}}). 
\end{DoxyReturn}
