LocationException
INCLUDE FILE
#include <tpau-cpp-kernal/LocationException.h>
class LocationException
Kernal exceptions with location.
DEFINITION
class LocationException;
constructor LocationException
DEFINITION
| LocationException | ( | ); |
constructor LocationException
Create a location exception from an existing exception.
DEFINITION
| LocationException | ( | Location location, | |
| const Exception & exception | ); |
| PARAMETER | DESCRIPTION |
|---|---|
location |
The location of the exception. |
exception |
The existing exception. |
constructor LocationException
Create an exception with a formatted message.
DEFINITION
template <typename...Args>
| LocationException | ( | Location location, | |
| std::format_string< Args... > format, | |||
| Args &&... args | ); |
| PARAMETER | DESCRIPTION |
|---|---|
location |
The location of the exception. |
format |
The format string for the message. |
args |
The arguments for the format string. |
constructor LocationException
Create an exception with a message.
DEFINITION
| LocationException | ( | Location location, | |
| const std::string_view message | ); |
| PARAMETER | DESCRIPTION |
|---|---|
location |
The location of the exception. |
message |
The message for the exception. |
member location
The location of the exception.
DEFINITION
Location location;