5#include <source_location>
7#include <unordered_map>
24 static const std::unordered_map<Code, std::string>
messages;
26 Exception(
Code code,
const std::source_location &location = std::source_location::current());
27 const char *
what() const noexcept
override
27 const char *
what() const noexcept
override {
…}
31 inline const char *
message() const noexcept
31 inline const char *
message() const noexcept {
…}
Definition Exception.hpp:12
Code
Definition Exception.hpp:15
const char * message() const noexcept
Definition Exception.hpp:31
Code code() const noexcept
Definition Exception.hpp:35
Exception(Code code, const std::source_location &location=std::source_location::current())
static const std::unordered_map< Code, std::string > messages
Definition Exception.hpp:24
const char * what() const noexcept override
Definition Exception.hpp:27
Definition Exception.hpp:10