GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
Error.hpp File Reference

Go to the source code of this file.

Classes

struct  grem::networking::Error
 Exception type for domain-specific errors originating from the grem::networking module. More...
struct  std::is_error_code_enum< grem::networking::EndpointError >
struct  grem::networking::EndpointErrorCategory
 Error category type for error codes originating from the getaddrinfo() API. More...
struct  std::is_error_condition_enum< grem::networking::SocketError >
struct  grem::networking::SocketErrorCategory
 Error category type for error codes originating from the Socket API. More...

Namespaces

namespace  grem
namespace  grem::networking

Enumerations

enum class  grem::networking::EndpointError : int {
  grem::networking::AGAIN = EAI_AGAIN , grem::networking::BADFLAGS = EAI_BADFLAGS , grem::networking::FAIL = EAI_FAIL , grem::networking::FAMILY = EAI_FAMILY ,
  grem::networking::MEMORY = EAI_MEMORY , grem::networking::NODATA = EAI_NODATA , grem::networking::NONAME = EAI_NONAME , grem::networking::SERVICE = EAI_SERVICE ,
  grem::networking::SOCKTYPE = EAI_SOCKTYPE
}
 Error code value type for error codes originating from the getaddrinfo() API. More...
enum class  grem::networking::SocketError : int { grem::networking::WAIT = 1 , grem::networking::PARTIAL , grem::networking::DISCONNECTED , grem::networking::FAILED }
 Error condition type for error codes originating from the Socket API. More...

Functions

std::error_code grem::networking::make_error_code (EndpointError error)
 Create a std::error_code from an EndpointError value.
std::error_code grem::networking::make_error_code (SocketError error)
 Create a std::error_code from a SocketError value.
std::error_condition grem::networking::make_error_condition (SocketError error)
 Create a std::error_condition from a SocketError value.