unilink  0.4.3
A simple C++ library for unified async communication
unilink::diagnostics::MemoryException Class Reference

Exception thrown during memory operations. More...

#include <exceptions.hpp>

Inheritance diagram for unilink::diagnostics::MemoryException:
unilink::diagnostics::UnilinkException

Public Member Functions

 MemoryException (const std::string &message, size_t size=0, const std::string &operation="")
 
size_t get_size () const noexcept
 
std::string get_full_message () const
 

Detailed Description

Exception thrown during memory operations.

Indicates errors related to memory allocation, deallocation, or memory safety violations.

Definition at line 121 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ MemoryException()

unilink::diagnostics::MemoryException::MemoryException ( const std::string &  message,
size_t  size = 0,
const std::string &  operation = "" 
)
inlineexplicit

Definition at line 123 of file exceptions.hpp.

Member Function Documentation

◆ get_full_message()

std::string unilink::diagnostics::MemoryException::get_full_message ( ) const
inline

Definition at line 128 of file exceptions.hpp.

◆ get_size()

size_t unilink::diagnostics::MemoryException::get_size ( ) const
inlinenoexcept

Definition at line 126 of file exceptions.hpp.


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