Cavoke  1.1.0
A Platform for creating and hosting multiplayer turn-based board games
Loading...
Searching...
No Matches
cavoke::server::cavoke_base_exception Struct Reference

Base exception for errors thrown in server. More...

#include <cavoke_base_exception.h>

Inheritance diagram for cavoke::server::cavoke_base_exception:
[legend]

Public Types

enum  error_code { UnknownError = 0 , InvalidClientInput , NotFound , InvalidConfig }
 

Public Member Functions

 cavoke_base_exception (std::string message, error_code code, std::string tag="cavoke")
 

Detailed Description

Base exception for errors thrown in server.

Definition at line 9 of file cavoke_base_exception.h.

Member Enumeration Documentation

◆ error_code

enum cavoke::server::cavoke_base_exception::error_code

Definition at line 11 of file cavoke_base_exception.h.

Constructor & Destructor Documentation

◆ cavoke_base_exception()

cavoke::server::cavoke_base_exception::cavoke_base_exception ( std::string  message,
error_code  code,
std::string  tag = "cavoke" 
)

Definition at line 2 of file cavoke_base_exception.cpp.


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