GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::networking::EndpointErrorCategory Struct Reference

Error category type for error codes originating from the getaddrinfo() API. More...

#include <GREM/networking/Error.hpp>

Inheritance diagram for grem::networking::EndpointErrorCategory:

Public Member Functions

const char * name () const noexcept override
std::string message (int condition) const override

Static Public Member Functions

static const EndpointErrorCategory & getInstance () noexcept
 Get the canonical global instance of this error category.

Detailed Description

Error category type for error codes originating from the getaddrinfo() API.

Member Function Documentation

◆ name()

const char * grem::networking::EndpointErrorCategory::name ( ) const
nodiscardoverridenoexcept

◆ message()

std::string grem::networking::EndpointErrorCategory::message ( int condition) const
nodiscardoverride

◆ getInstance()

const EndpointErrorCategory & grem::networking::EndpointErrorCategory::getInstance ( )
inlinestaticnodiscardnoexcept

Get the canonical global instance of this error category.

Returns
a reference to the static EndpointErrorCategory object.

The documentation for this struct was generated from the following file: