4#include <source_location>
6#include <unordered_map>
23 static const std::unordered_map<Code, std::string>
messages;
25 Exception(
Code code,
const std::source_location &location = std::source_location::current());
26 const char *
what() const noexcept
override
30 inline const char *
message() const noexcept
Definition Exception.hpp:11
Code
Definition Exception.hpp:14
const char * message() const noexcept
Definition Exception.hpp:30
Code code() const noexcept
Definition Exception.hpp:34
Exception(Code code, const std::source_location &location=std::source_location::current())
static const std::unordered_map< Code, std::string > messages
Definition Exception.hpp:23
const char * what() const noexcept override
Definition Exception.hpp:26
Definition Exception.hpp:9