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


Functions that set and retrieve error codes in Embryo programs.  


\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EAPI void \mbox{\hyperlink{group__Embryo__Error__Group_gaa761c3299a97a88043b36749a0e96a1d}{embryo\+\_\+program\+\_\+error\+\_\+set}} (Embryo\+\_\+\+Program $\ast$ep, Embryo\+\_\+\+Error error)
\begin{DoxyCompactList}\small\item\em Sets the error code for the given program to the given code. \end{DoxyCompactList}\item 
EAPI 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 
EAPI const char $\ast$ \mbox{\hyperlink{group__Embryo__Error__Group_ga5f7eee0f8a06c94732cb94dca4168496}{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}
Functions that set and retrieve error codes in Embryo programs. 



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Embryo__Error__Group_gaa761c3299a97a88043b36749a0e96a1d}\label{group__Embryo__Error__Group_gaa761c3299a97a88043b36749a0e96a1d}} 
\index{Error Functions@{Error Functions}!embryo\_program\_error\_set@{embryo\_program\_error\_set}}
\index{embryo\_program\_error\_set@{embryo\_program\_error\_set}!Error Functions@{Error Functions}}
\doxysubsubsection{\texorpdfstring{embryo\_program\_error\_set()}{embryo\_program\_error\_set()}}
{\footnotesize\ttfamily EAPI void embryo\+\_\+program\+\_\+error\+\_\+set (\begin{DoxyParamCaption}\item[{Embryo\+\_\+\+Program $\ast$}]{ep,  }\item[{Embryo\+\_\+\+Error}]{error }\end{DoxyParamCaption})}



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}
\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 EAPI 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_ga5f7eee0f8a06c94732cb94dca4168496}\label{group__Embryo__Error__Group_ga5f7eee0f8a06c94732cb94dca4168496}} 
\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 EAPI 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}
