| 420 | #endif // USE_PLACES_FEATURE |
| 421 | |
| 422 | class IGFDException : public std::exception { |
| 423 | private: |
| 424 | char const* m_msg{}; |
| 425 | |
| 426 | public: |
| 427 | IGFDException() : std::exception() { |
| 428 | } |
| 429 | explicit IGFDException(char const* const vMsg) |
| 430 | : std::exception(), // std::exception(msg) is not availaiable on linux it seems... but on windos yes |
| 431 | m_msg(vMsg) { |
| 432 | } |
| 433 | char const* what() const noexcept override { |
| 434 | return m_msg; |
| 435 | } |
| 436 | }; |
| 437 | |
| 438 | #ifndef CUSTOM_FILESYSTEM_INCLUDE |
| 439 | #ifdef USE_STD_FILESYSTEM |