EasyException
ee::Stacktrace Class Reference

This class stores a stacktrace. More...

#include <ee/Stacktrace.hpp>

Public Member Functions

 Stacktrace (std::map< unsigned short, std::string > lines) noexcept
 Constructor.
 
const std::map< unsigned short, std::string > & getLines () const noexcept
 Returns the map containing the lines of the stacktrace.
 
std::string asString () const noexcept
 Returns the stacktrace as a string.
 

Static Public Member Functions

static std::optional< std::shared_ptr< Stacktrace > > create (size_t numberOfLines=32) noexcept
 

Private Attributes

std::map< unsigned short, std::string > mLines
 This map holds the lines of the stacktrace.
 

Detailed Description

This class stores a stacktrace.


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