|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Error description handling for humans. |
|
|
// Error description handling for humans. |
|
|
|
|
|
|
|
|
string Networking::DescriptiveError(std::string Msg, int Errno) { // Form a descriptive error w/ errno. |
|
|
|
|
|
|
|
|
std::string Networking::DescriptiveError(std::string Msg, int Errno) { // Form a descriptive error w/ errno. |
|
|
std::string s = ""; // Message string. |
|
|
std::string s = ""; // Message string. |
|
|
|
|
|
|
|
|
switch(Errno) { // Assign the appropriate message. |
|
|
switch(Errno) { // Assign the appropriate message. |
|
|
|
|
|
|
|
|
// End Platform Agnostic Stuff |
|
|
// End Platform Agnostic Stuff |
|
|
//////////////////////////////////////////////////////////////////////////////// |
|
|
//////////////////////////////////////////////////////////////////////////////// |
|
|
|
|
|
|
|
|
} // End namespace codedweller |
|
|
|
|
|
|
|
|
} // End namespace codedweller
|