|
EasyException
|
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. | |
This class stores a stacktrace.