mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-20 12:58:06 +08:00
615 B
615 B
+++ title = "exception.hpp" type = "docs" +++
exception.hpp
toml::exception
Base class for exception types defined in toml11.
namespace toml
{
struct exception : public std::exception
{
public:
virtual ~exception() noexcept override = default;
virtual const char* what() const noexcept override {return "";}
};
} // toml
Member Functions
Destructor
virtual ~exception() noexcept override = default;
Override when derived.
what
virtual const char* what() const noexcept override {return "";}
Returns the error message. Override when derived.