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


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


\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} Embryo\+\_\+\+Error \mbox{\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 
const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} char $\ast$ \mbox{\hyperlink{group__Embryo__Error__Group_ga74dbd962c443cebd2acfe392bffea334}{embryo\+\_\+error\+\_\+string\+\_\+get}} (Embryo\+\_\+\+Error error)
\begin{DoxyCompactList}\small\item\em Retrieves a string describing the given error code. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{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. 

\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Embryo__Error__Group_ga104b8d8360cafb5bc0d1f4c759a2f365}\label{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}}
\doxysubsubsection{\texorpdfstring{embryo\_program\_error\_get()}{embryo\_program\_error\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} Embryo\+\_\+\+Error embryo\+\_\+program\+\_\+error\+\_\+get (\begin{DoxyParamCaption}\item[{Embryo\+\_\+\+Program $\ast$}]{ep }\end{DoxyParamCaption})}



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}
\mbox{\Hypertarget{group__Embryo__Error__Group_ga74dbd962c443cebd2acfe392bffea334}\label{group__Embryo__Error__Group_ga74dbd962c443cebd2acfe392bffea334}} 
\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}}
\doxysubsubsection{\texorpdfstring{embryo\_error\_string\_get()}{embryo\_error\_string\_get()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} char$\ast$ embryo\+\_\+error\+\_\+string\+\_\+get (\begin{DoxyParamCaption}\item[{Embryo\+\_\+\+Error}]{error }\end{DoxyParamCaption})}



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}
