\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__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} 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__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} 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}
\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}}
\subsubsection{\texorpdfstring{embryo\+\_\+program\+\_\+error\+\_\+get()}{embryo\_program\_error\_get()}}
{\footnotesize\ttfamily \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_ga56f2294f676741f2b3689561a1733f59}\label{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{\texorpdfstring{embryo\+\_\+error\+\_\+string\+\_\+get()}{embryo\_error\_string\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} const 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}
