Documents Exception::Throw.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
69714084d6
commit
b239b556dc
|
@ -62,6 +62,8 @@ namespace ArbUt {
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
template <typename... Args>
|
template <typename... Args>
|
||||||
|
/// @brief Throw a nicely formatted exception. The exception message will have the file name, line number, message,
|
||||||
|
/// along with any optional parameters passed.
|
||||||
[[noreturn]] static void Throw(const std::string& expression, const std::source_location& location,
|
[[noreturn]] static void Throw(const std::string& expression, const std::source_location& location,
|
||||||
const Args... args) {
|
const Args... args) {
|
||||||
std::stringstream error;
|
std::stringstream error;
|
||||||
|
|
Loading…
Reference in New Issue