\doxysubsection{Error Functions}
\hypertarget{group__Embryo__Error__Group}{}\label{group__Embryo__Error__Group}\index{Error Functions@{Error Functions}}
\doxysubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EAPI void \mbox{\hyperlink{group__Embryo__Error__Group_gaa761c3299a97a88043b36749a0e96a1d}{embryo\+\_\+program\+\_\+error\+\_\+set}} (Embryo\+\_\+\+Program \texorpdfstring{$\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 \texorpdfstring{$\ast$}{*}ep)
\begin{DoxyCompactList}\small\item\em Retrieves the current error code for the given program. \end{DoxyCompactList}\item 
EAPI const char \texorpdfstring{$\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}


\doxysubsubsection{Detailed Description}


Functions that set and retrieve error codes in Embryo programs. 

\doxysubsubsection{Function Documentation}
\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}}
\doxysubsubsubsection{\texorpdfstring{embryo\_program\_error\_set()}{embryo\_program\_error\_set()}}
{\footnotesize\ttfamily EAPI void embryo\+\_\+program\+\_\+error\+\_\+set (\begin{DoxyParamCaption}\item[{Embryo\+\_\+\+Program \texorpdfstring{$\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}
\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}}
\doxysubsubsubsection{\texorpdfstring{embryo\_program\_error\_get()}{embryo\_program\_error\_get()}}
{\footnotesize\ttfamily EAPI Embryo\+\_\+\+Error embryo\+\_\+program\+\_\+error\+\_\+get (\begin{DoxyParamCaption}\item[{Embryo\+\_\+\+Program \texorpdfstring{$\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}
\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}}
\doxysubsubsubsection{\texorpdfstring{embryo\_error\_string\_get()}{embryo\_error\_string\_get()}}
{\footnotesize\ttfamily EAPI const char \texorpdfstring{$\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 "{}(unknown)"{} is returned. 
\end{DoxyReturn}
