Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
Loading...
Searching...
No Matches
kcenon::common::error_info Struct Reference

#include <error_codes.h>

Collaboration diagram for kcenon::common::error_info:
Collaboration graph

Public Member Functions

 error_info ()=default
 
 error_info (int code_value, std::string message_value)
 
 error_info (int code_value, std::string message_value, std::string category_value)
 

Public Attributes

int code {}
 
std::string message
 
std::string category
 

Detailed Description

Constructor & Destructor Documentation

◆ error_info() [1/3]

kcenon::common::error_info::error_info ( )
default

◆ error_info() [2/3]

kcenon::common::error_info::error_info ( int code_value,
std::string message_value )
inline

Definition at line 54 of file error_codes.h.

55 : code(code_value),
56 message(std::move(message_value)),
57 category() {}

◆ error_info() [3/3]

kcenon::common::error_info::error_info ( int code_value,
std::string message_value,
std::string category_value )
inline

Definition at line 59 of file error_codes.h.

60 : code(code_value),
61 message(std::move(message_value)),
62 category(std::move(category_value)) {}

Member Data Documentation

◆ category

std::string kcenon::common::error_info::category

◆ code

int kcenon::common::error_info::code {}

◆ message

std::string kcenon::common::error_info::message

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