lintel 0.2.0
Loading...
Searching...
No Matches
LoggerServiceNotInitialized.h
Go to the documentation of this file.
1#pragma once
2
3#include <exception>
4#include <filesystem>
5
6namespace lintel {
8class LoggerServiceNotInitialized : public std::exception
9{
10private:
11 const std::string m_message;
12
13public:
14 explicit LoggerServiceNotInitialized() : m_message("LoggerService not initialized. Please call Marco DECLARE_LOGGER")
15 {}
16
17 [[nodiscard]] const char *what() const noexcept override { return m_message.c_str(); }
18};
19}// namespace lintel
Definition LoggerServiceNotInitialized.h:9
LoggerServiceNotInitialized()
Definition LoggerServiceNotInitialized.h:14
const char * what() const noexcept override
Definition LoggerServiceNotInitialized.h:17
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9