Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
kcenon::network::simple_error Struct Reference

#include <result_types.h>

Collaboration diagram for kcenon::network::simple_error:
Collaboration graph

Public Member Functions

 simple_error (int c, std::string msg, std::string src="", std::string det="")
 

Public Attributes

int code
 
std::string message
 
std::string source
 
std::string details
 

Detailed Description

Definition at line 117 of file result_types.h.

Constructor & Destructor Documentation

◆ simple_error()

kcenon::network::simple_error::simple_error ( int c,
std::string msg,
std::string src = "",
std::string det = "" )
inline

Definition at line 123 of file result_types.h.

124 : code(c), message(std::move(msg)), source(std::move(src)), details(std::move(det)) {}

Member Data Documentation

◆ code

int kcenon::network::simple_error::code

Definition at line 118 of file result_types.h.

◆ details

std::string kcenon::network::simple_error::details

Definition at line 121 of file result_types.h.

Referenced by kcenon::network::get_error_details().

◆ message

std::string kcenon::network::simple_error::message

Definition at line 119 of file result_types.h.

◆ source

std::string kcenon::network::simple_error::source

Definition at line 120 of file result_types.h.

Referenced by kcenon::network::get_error_source().


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