MIRA
Public Member Functions | Public Attributes | List of all members
Exception::Info Struct Reference

The info packet that is added in MIRA_THROW and MIRA_RETHROW. More...

#include <error/Exception.h>

Public Member Functions

 Info (std::string iMessage, std::string iFile, int iLine)
 
std::string what (std::size_t messageWidth) const
 

Public Attributes

std::string message
 The exception message. More...
 
std::string file
 The file the exception occurred. More...
 
int line
 The line the exception occurred. More...
 

Detailed Description

The info packet that is added in MIRA_THROW and MIRA_RETHROW.

Constructor & Destructor Documentation

◆ Info()

Info ( std::string  iMessage,
std::string  iFile,
int  iLine 
)
inline

Member Function Documentation

◆ what()

std::string what ( std::size_t  messageWidth) const

Member Data Documentation

◆ message

std::string message

The exception message.

◆ file

std::string file

The file the exception occurred.

◆ line

int line

The line the exception occurred.


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