The Battle for Wesnoth  1.19.0-dev
Public Member Functions | List of all members
wesnothd_rejected_client_error Struct Reference

Error used when the client is rejected by the MP server. More...

#include <wesnothd_connection_error.hpp>

Inheritance diagram for wesnothd_rejected_client_error:

Public Member Functions

 wesnothd_rejected_client_error (const std::string &msg)
 
- Public Member Functions inherited from game::error
 error ()
 
 error (const std::string &msg)
 
 ~error () noexcept
 
const char * what () const noexcept
 

Additional Inherited Members

- Public Attributes inherited from game::error
std::string message
 

Detailed Description

Error used when the client is rejected by the MP server.

Technically, this is not an error but the only way to handle the condition is as if it were an error.

Definition at line 36 of file wesnothd_connection_error.hpp.

Constructor & Destructor Documentation

◆ wesnothd_rejected_client_error()

wesnothd_rejected_client_error::wesnothd_rejected_client_error ( const std::string &  msg)
inline

Definition at line 38 of file wesnothd_connection_error.hpp.


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