unilink  0.4.3
A simple C++ library for unified async communication
error_handler.hpp File Reference
#include <atomic>
#include <functional>
#include <memory>
#include <mutex>
#include <string_view>
#include <unordered_map>
#include <vector>
#include "error_types.hpp"
#include "unilink/base/visibility.hpp"

Go to the source code of this file.

Classes

class  unilink::diagnostics::ErrorHandler
 Centralized error handling system. More...
 

Namespaces

 
 
 

Functions

void unilink::diagnostics::error_reporting::report_connection_error (std::string_view component, std::string_view operation, const boost::system::error_code &ec, bool retryable=true)
 Report connection-related error. More...
 
void unilink::diagnostics::error_reporting::report_communication_error (std::string_view component, std::string_view operation, std::string_view message, bool retryable=false)
 Report communication-related error. More...
 
void unilink::diagnostics::error_reporting::report_configuration_error (std::string_view component, std::string_view operation, std::string_view message)
 Report configuration error. More...
 
void unilink::diagnostics::error_reporting::report_memory_error (std::string_view component, std::string_view operation, std::string_view message)
 Report memory-related error. More...
 
void unilink::diagnostics::error_reporting::report_system_error (std::string_view component, std::string_view operation, std::string_view message, const boost::system::error_code &ec=boost::system::error_code{})
 Report system-level error. More...
 
void unilink::diagnostics::error_reporting::report_warning (std::string_view component, std::string_view operation, std::string_view message)
 Report warning (non-critical issue) More...
 
void unilink::diagnostics::error_reporting::report_info (std::string_view component, std::string_view operation, std::string_view message)
 Report informational message. More...