\hypertarget{Error_8cpp}{\section{trunk/bwapi/\-B\-W\-A\-P\-I\-L\-I\-B/\-Source/\-Error.cpp \-File \-Reference}
\label{Error_8cpp}\index{trunk/bwapi/\-B\-W\-A\-P\-I\-L\-I\-B/\-Source/\-Error.\-cpp@{trunk/bwapi/\-B\-W\-A\-P\-I\-L\-I\-B/\-Source/\-Error.\-cpp}}
}
{\ttfamily \#include $<$string$>$}\*
{\ttfamily \#include $<$map$>$}\*
{\ttfamily \#include $<$set$>$}\*
{\ttfamily \#include $<$\-B\-W\-A\-P\-I/\-Error.\-h$>$}\*
{\ttfamily \#include $<$\-Util/\-Foreach.\-h$>$}\*
{\ttfamily \#include \char`\"{}\-Common.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}../../\-Debug.\-h\char`\"{}}\*
\-Include dependency graph for \-Error.\-cpp\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{Error_8cpp__incl}
\end{center}
\end{figure}
\subsection*{\-Namespaces}
\begin{DoxyCompactItemize}
\item 
namespace \hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I}
\item 
namespace \hyperlink{namespaceBWAPI_1_1Errors}{\-B\-W\-A\-P\-I\-::\-Errors}
\end{DoxyCompactItemize}
\subsection*{\-Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{Error_8cpp_afefd14997c27deb6fb0747bab2cff77d}{\-B\-W\-A\-P\-I\-\_\-\-E\-R\-R\-O\-R\-\_\-\-M\-A\-X\-\_\-\-C\-O\-U\-N\-T}~28
\end{DoxyCompactItemize}
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{namespaceBWAPI_1_1Errors_a53ed41057d772a7fa7b2e27ecf3e1a38}{\-B\-W\-A\-P\-I\-::\-Errors\-::init} ()
\item 
\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{namespaceBWAPI_a398ce73bc93140cd477089f74f73ac5a}{\-B\-W\-A\-P\-I\-::get\-Valid\-Error\-I\-D} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} id)
\end{DoxyCompactItemize}
\subsection*{\-Variables}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{namespaceBWAPI_a278358a56d79e64760b0407a6803c372}{\-B\-W\-A\-P\-I\-::initializing\-Error} = \hyperlink{ChaosLauncherInjector_2source_2DLLMain_8cpp_a930920b2bc42824a5c03be681830f4b2}{true}
\item 
std\-::string \hyperlink{namespaceBWAPI_a5d9848a90a736db2508143b2477d4a5c}{\-B\-W\-A\-P\-I\-::error\-Name} \mbox{[}\hyperlink{Error_8cpp_afefd14997c27deb6fb0747bab2cff77d}{\-B\-W\-A\-P\-I\-\_\-\-E\-R\-R\-O\-R\-\_\-\-M\-A\-X\-\_\-\-C\-O\-U\-N\-T}\mbox{]}
\item 
std\-::map$<$ std\-::string, \-Error $>$ \hyperlink{namespaceBWAPI_a4fbeaa0a635ad01071f62f7cac9d9650}{\-B\-W\-A\-P\-I\-::error\-Map}
\item 
std\-::set$<$ \-Error $>$ \hyperlink{namespaceBWAPI_ac9133a37d1d563a6c168cea878149c3d}{\-B\-W\-A\-P\-I\-::error\-Set}
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a31be61f1abfbca8d07c596273ca85c30}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Unit\-\_\-\-Does\-\_\-\-Not\-\_\-\-Exist} (0)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a02a5b64e00e1e78913495e3efa7a298a}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Unit\-\_\-\-Not\-\_\-\-Visible} (1)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a6d30d156939eed81dc907f687f2c89ca}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Unit\-\_\-\-Not\-\_\-\-Owned} (2)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a121d71485b1477d6ccf384dcb54a6931}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Unit\-\_\-\-Busy} (3)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_aeb4c174ac73e26eced6ea85cbf34a74b}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Incompatible\-\_\-\-Unit\-Type} (4)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a15edcd1e546ed47598a8bb806c37c422}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Incompatible\-\_\-\-Tech\-Type} (5)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a20125a8c3f7b46a494f82c5b3d5cf4db}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Incompatible\-\_\-\-State} (6)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_abd1d2e674add0fe62ff981a31c2683a2}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Already\-\_\-\-Researched} (7)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a7604a5e1f2d40d37c00eced7cc751db9}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Fully\-\_\-\-Upgraded} (8)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a9810726c39ed10cf34f5e2accf07651c}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Currently\-\_\-\-Researching} (9)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a2b61a66452c6eedadb9324b8bb291474}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Currently\-\_\-\-Upgrading} (10)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a5cc7859dfb875074e3af9f0a2884a2a6}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Insufficient\-\_\-\-Minerals} (11)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a96523ee1df77b3a8265a6f055af8c6cd}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Insufficient\-\_\-\-Gas} (12)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a736aa683fbb8ce1a723f262338bdd888}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Insufficient\-\_\-\-Supply} (13)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_acadb17f9ab3ff0608bd0f339d4572b26}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Insufficient\-\_\-\-Energy} (14)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_af2dde515e0e88ae2ec31227efb0d8f0e}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Insufficient\-\_\-\-Tech} (15)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a2df6500f177884849cec39caaf800b71}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Insufficient\-\_\-\-Ammo} (16)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a85321d43738ef5e243d0e7e85d8b481e}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Insufficient\-\_\-\-Space} (17)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_aa70439e3918ae2fb05a5c44c678c8910}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Invalid\-\_\-\-Tile\-\_\-\-Position} (18)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_aad9f30a6824837cdec11e0a0f2e543cd}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Unbuildable\-\_\-\-Location} (19)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a9ad9b93aa61438c2a861725770f27e1b}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Unreachable\-\_\-\-Location} (20)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a31c3c28685c335ae8468bc47a1d96302}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Out\-\_\-\-Of\-\_\-\-Range} (21)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_ab01482dd0034d07529f70d5ea2077cde}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Unable\-\_\-\-To\-\_\-\-Hit} (22)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a0b6859e5d627353303d7b5c9286f8f4e}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Access\-\_\-\-Denied} (23)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_aab1174e22177ddcef7e22dc23eab0071}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-File\-\_\-\-Not\-\_\-\-Found} (24)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a8bdf8c148bda48b92c954b285db6dff6}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Invalid\-\_\-\-Parameter} (25)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_a278e2125b7537e5bc1c07fb50a2e599b}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-None} (26)
\item 
const \-Error \hyperlink{namespaceBWAPI_1_1Errors_ad757ea6994fa1e9050085af0e126078e}{\-B\-W\-A\-P\-I\-::\-Errors\-::\-Unknown} (27)
\end{DoxyCompactItemize}


\subsection{\-Define \-Documentation}
\hypertarget{Error_8cpp_afefd14997c27deb6fb0747bab2cff77d}{\index{\-Error.\-cpp@{\-Error.\-cpp}!\-B\-W\-A\-P\-I\-\_\-\-E\-R\-R\-O\-R\-\_\-\-M\-A\-X\-\_\-\-C\-O\-U\-N\-T@{\-B\-W\-A\-P\-I\-\_\-\-E\-R\-R\-O\-R\-\_\-\-M\-A\-X\-\_\-\-C\-O\-U\-N\-T}}
\index{\-B\-W\-A\-P\-I\-\_\-\-E\-R\-R\-O\-R\-\_\-\-M\-A\-X\-\_\-\-C\-O\-U\-N\-T@{\-B\-W\-A\-P\-I\-\_\-\-E\-R\-R\-O\-R\-\_\-\-M\-A\-X\-\_\-\-C\-O\-U\-N\-T}!Error.cpp@{\-Error.\-cpp}}
\subsubsection[{\-B\-W\-A\-P\-I\-\_\-\-E\-R\-R\-O\-R\-\_\-\-M\-A\-X\-\_\-\-C\-O\-U\-N\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-B\-W\-A\-P\-I\-\_\-\-E\-R\-R\-O\-R\-\_\-\-M\-A\-X\-\_\-\-C\-O\-U\-N\-T}~28}}\label{Error_8cpp_afefd14997c27deb6fb0747bab2cff77d}
