From b239b556dc91892d8d164d09d130c81235c96c06 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sun, 21 Nov 2021 12:35:40 +0100 Subject: [PATCH] Documents Exception::Throw. --- src/Exception.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Exception.hpp b/src/Exception.hpp index 3457e9a..7c724b7 100644 --- a/src/Exception.hpp +++ b/src/Exception.hpp @@ -62,6 +62,8 @@ namespace ArbUt { { } template + /// @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, const Args... args) { std::stringstream error;