\hypertarget{group__Embryo__Error__Group}{\section{Error Functions}
\label{group__Embryo__Error__Group}\index{Error Functions@{Error Functions}}
}


Sets the error code for the given program to the given code.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} Embryo\+\_\+\+Error \hyperlink{group__Embryo__Error__Group_ga104b8d8360cafb5bc0d1f4c759a2f365}{embryo\+\_\+program\+\_\+error\+\_\+get} (Embryo\+\_\+\+Program $\ast$ep)
\begin{DoxyCompactList}\small\item\em Retrieves the current error code for the given program. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Embryo__Error__Group_ga56f2294f676741f2b3689561a1733f59}{embryo\+\_\+error\+\_\+string\+\_\+get} (Embryo\+\_\+\+Error error)
\begin{DoxyCompactList}\small\item\em Retrieves a string describing the given error code. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Sets the error code for the given program to the given code. 


\begin{DoxyParams}{Parameters}
{\em ep} & The given program. \\
\hline
{\em error} & The given error code.\\
\hline
\end{DoxyParams}
Functions that set and retrieve error codes in Embryo programs. 

\subsection{Function Documentation}
\hypertarget{group__Embryo__Error__Group_ga104b8d8360cafb5bc0d1f4c759a2f365}{\index{Error Functions@{Error Functions}!embryo\+\_\+program\+\_\+error\+\_\+get@{embryo\+\_\+program\+\_\+error\+\_\+get}}
\index{embryo\+\_\+program\+\_\+error\+\_\+get@{embryo\+\_\+program\+\_\+error\+\_\+get}!Error Functions@{Error Functions}}
\subsubsection[{embryo\+\_\+program\+\_\+error\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} Embryo\+\_\+\+Error embryo\+\_\+program\+\_\+error\+\_\+get (
\begin{DoxyParamCaption}
\item[{Embryo\+\_\+\+Program $\ast$}]{ep}
\end{DoxyParamCaption}
)}}\label{group__Embryo__Error__Group_ga104b8d8360cafb5bc0d1f4c759a2f365}


Retrieves the current error code for the given program. 


\begin{DoxyParams}{Parameters}
{\em ep} & The given program. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The current error code. 
\end{DoxyReturn}
\hypertarget{group__Embryo__Error__Group_ga56f2294f676741f2b3689561a1733f59}{\index{Error Functions@{Error Functions}!embryo\+\_\+error\+\_\+string\+\_\+get@{embryo\+\_\+error\+\_\+string\+\_\+get}}
\index{embryo\+\_\+error\+\_\+string\+\_\+get@{embryo\+\_\+error\+\_\+string\+\_\+get}!Error Functions@{Error Functions}}
\subsubsection[{embryo\+\_\+error\+\_\+string\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ embryo\+\_\+error\+\_\+string\+\_\+get (
\begin{DoxyParamCaption}
\item[{Embryo\+\_\+\+Error}]{error}
\end{DoxyParamCaption}
)}}\label{group__Embryo__Error__Group_ga56f2294f676741f2b3689561a1733f59}


Retrieves a string describing the given error code. 


\begin{DoxyParams}{Parameters}
{\em error} & The given error code. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
String describing the given error code. If the given code is not known, the string \char`\"{}(unknown)\char`\"{} is returned. 
\end{DoxyReturn}
