| 432 | #endif // USE_PLACES_FEATURE |
| 433 | |
| 434 | class IGFDException : public std::exception { |
| 435 | private: |
| 436 | char const* m_msg{}; |
| 437 | |
| 438 | public: |
| 439 | IGFDException() : std::exception() { |
| 440 | } |
| 441 | explicit IGFDException(char const* const vMsg) |
| 442 | : std::exception(), // std::exception(msg) is not availaiable on linux it seems... but on windos yes |
| 443 | m_msg(vMsg) { |
| 444 | } |
| 445 | char const* what() const noexcept override { |
| 446 | return m_msg; |
| 447 | } |
| 448 | }; |
| 449 | |
| 450 | #ifndef CUSTOM_FILESYSTEM_INCLUDE |
| 451 | #ifdef USE_STD_FILESYSTEM |